| Index: src/assembler.cc
|
| diff --git a/src/assembler.cc b/src/assembler.cc
|
| index c6228eb353eaad7da8a18f10f8c5a84c07215f3e..9ed43601c551256c9a9d595fc71ebc496e83f9f2 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();
|
| }
|
| @@ -1085,6 +1088,13 @@ ExternalReference ExternalReference::get_make_code_young_function(
|
| }
|
|
|
|
|
| +ExternalReference ExternalReference::get_mark_code_as_executed_function(
|
| + Isolate* isolate) {
|
| + return ExternalReference(Redirect(
|
| + isolate, FUNCTION_ADDR(Code::MarkCodeAsExecuted)));
|
| +}
|
| +
|
| +
|
| ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) {
|
| return ExternalReference(isolate->date_cache()->stamp_address());
|
| }
|
| @@ -1333,6 +1343,20 @@ ExternalReference ExternalReference::address_of_the_hole_nan() {
|
| }
|
|
|
|
|
| +ExternalReference ExternalReference::record_object_allocation_function(
|
| + Isolate* isolate) {
|
| + return ExternalReference(
|
| + Redirect(isolate,
|
| + FUNCTION_ADDR(HeapProfiler::RecordObjectAllocationFromMasm)));
|
| +}
|
| +
|
| +
|
| +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(
|
|
|