diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2018-01-24 20:16:06 +0100 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-01-24 15:02:20 -0800 |
commit | 4c4af643e5042d615a60c6bbc05aee9d81b903e5 (patch) | |
tree | 3fb0a97988fe4439ae3ae06f26915d1dcf8cab92 /deps/v8/src/fixed-dtoa.cc | |
parent | fa9f31a4fda5a3782c652e56e394465805ebb50f (diff) | |
download | android-node-v8-4c4af643e5042d615a60c6bbc05aee9d81b903e5.tar.gz android-node-v8-4c4af643e5042d615a60c6bbc05aee9d81b903e5.tar.bz2 android-node-v8-4c4af643e5042d615a60c6bbc05aee9d81b903e5.zip |
deps: update V8 to 6.4.388.40
PR-URL: https://github.com/nodejs/node/pull/17489
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'deps/v8/src/fixed-dtoa.cc')
-rw-r--r-- | deps/v8/src/fixed-dtoa.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/fixed-dtoa.cc b/deps/v8/src/fixed-dtoa.cc index 15797aae86..95b7cbead7 100644 --- a/deps/v8/src/fixed-dtoa.cc +++ b/deps/v8/src/fixed-dtoa.cc @@ -36,7 +36,7 @@ class UInt128 { accumulator >>= 32; accumulator = accumulator + (high_bits_ >> 32) * multiplicand; high_bits_ = (accumulator << 32) + part; - DCHECK((accumulator >> 32) == 0); + DCHECK_EQ(accumulator >> 32, 0); } void Shift(int shift_amount) { @@ -218,7 +218,7 @@ static void FillFractionals(uint64_t fractionals, int exponent, // is a fixed-point number, with binary point at bit 'point'. if (-exponent <= 64) { // One 64 bit number is sufficient. - DCHECK(fractionals >> 56 == 0); + DCHECK_EQ(fractionals >> 56, 0); int point = -exponent; for (int i = 0; i < fractional_count; ++i) { if (fractionals == 0) break; @@ -362,7 +362,7 @@ bool FastFixedDtoa(double v, } else if (exponent < -128) { // This configuration (with at most 20 digits) means that all digits must be // 0. - DCHECK(fractional_count <= 20); + DCHECK_LE(fractional_count, 20); buffer[0] = '\0'; *length = 0; *decimal_point = -fractional_count; |