Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 92cc4598d3ba59cd6ef1a12d301f35980f2c9625..bc2e59a41bdf4580170b6397d9f2f483be0cf990 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -30,7 +30,6 @@ |
#if defined(V8_TARGET_ARCH_X64) |
#include "bootstrapper.h" |
-#include "builtins-decls.h" |
#include "code-stubs.h" |
#include "regexp-macro-assembler.h" |
#include "stub-cache.h" |
@@ -133,7 +132,7 @@ static void InitializeArrayConstructorDescriptor( |
descriptor->register_params_ = registers; |
descriptor->function_mode_ = JS_FUNCTION_STUB_MODE; |
descriptor->deoptimization_handler_ = |
- FUNCTION_ADDR(ArrayConstructor_StubFailure); |
+ Runtime::FunctionForId(Runtime::kArrayConstructor)->entry; |
} |
@@ -155,7 +154,7 @@ static void InitializeInternalArrayConstructorDescriptor( |
descriptor->register_params_ = registers; |
descriptor->function_mode_ = JS_FUNCTION_STUB_MODE; |
descriptor->deoptimization_handler_ = |
- FUNCTION_ADDR(InternalArrayConstructor_StubFailure); |
+ Runtime::FunctionForId(Runtime::kInternalArrayConstructor)->entry; |
} |