diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-06-19 14:23:56 +0300 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-08-04 21:56:14 +0300 |
commit | 70d1f32f5605465a1a630a64f6f0d35f96c7709d (patch) | |
tree | 0a349040a686eafcb0a09943ebc733477dce2781 /src/util-inl.h | |
parent | 4643b8b6671607a7aff60cbbd0b384dcf2f6959e (diff) |
deps: update v8 to 4.4.63.9
Upgrade the bundled V8 and update code in src/ and lib/ to the new API.
Notable backwards incompatible changes are the removal of the smalloc
module and dropped support for CESU-8 decoding. CESU-8 support can be
brought back if necessary by doing UTF-8 decoding ourselves.
This commit includes https://codereview.chromium.org/1192973004 to fix
a build error on python 2.6 systems. The original commit log follows:
Use optparse in js2c.py for python compatibility
Without this change, V8 won't build on RHEL/CentOS 6 because the
distro python is too old to know about the argparse module.
PR-URL: https://github.com/nodejs/io.js/pull/2022
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'src/util-inl.h')
-rw-r--r-- | src/util-inl.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util-inl.h b/src/util-inl.h index 308c9b2787d..75bdb4784aa 100644 --- a/src/util-inl.h +++ b/src/util-inl.h @@ -198,14 +198,6 @@ TypeName* Unwrap(v8::Local<v8::Object> object) { return static_cast<TypeName*>(pointer); } -inline bool IsValidSmi(int64_t value) { - if (sizeof(int32_t) == sizeof(intptr_t)) { - return value >= -0x40000000LL && value <= 0x3fffffffLL; - } else { - return value >= -0x80000000LL && value <= 0x7fffffffLL; - } -} - } // namespace node #endif // SRC_UTIL_INL_H_ |