| Index: src/assembler.cc
|
| diff --git a/src/assembler.cc b/src/assembler.cc
|
| index c6228eb353eaad7da8a18f10f8c5a84c07215f3e..63294f9fd133ac14c119cb77ac1d7bc6b900b369 100644
|
| --- a/src/assembler.cc
|
| +++ b/src/assembler.cc
|
| @@ -98,6 +98,7 @@ struct DoubleConstant BASE_EMBEDDED {
|
| double negative_infinity;
|
| double canonical_non_hole_nan;
|
| double the_hole_nan;
|
| + double uint32_bias;
|
| };
|
|
|
| static DoubleConstant double_constants;
|
| @@ -908,6 +909,8 @@ void ExternalReference::SetUp() {
|
| double_constants.canonical_non_hole_nan = OS::nan_value();
|
| double_constants.the_hole_nan = BitCast<double>(kHoleNanInt64);
|
| double_constants.negative_infinity = -V8_INFINITY;
|
| + double_constants.uint32_bias =
|
| + static_cast<double>(static_cast<uint32_t>(0xFFFFFFFF)) + 1;
|
|
|
| math_exp_data_mutex = new Mutex();
|
| }
|
| @@ -1333,6 +1336,12 @@ ExternalReference ExternalReference::address_of_the_hole_nan() {
|
| }
|
|
|
|
|
| +ExternalReference ExternalReference::address_of_uint32_bias() {
|
| + return ExternalReference(
|
| + reinterpret_cast<void*>(&double_constants.uint32_bias));
|
| +}
|
| +
|
| +
|
| #ifndef V8_INTERPRETED_REGEXP
|
|
|
| ExternalReference ExternalReference::re_check_stack_guard_state(
|
|
|