Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index d5b48162129fe3cecd24debd9b825de381488c16..bb1e83f2ffcd04a2f473b4178392c90481f93760 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -30,7 +30,6 @@ |
#if defined(V8_TARGET_ARCH_ARM) |
#include "bootstrapper.h" |
-#include "builtins-decls.h" |
#include "code-stubs.h" |
#include "regexp-macro-assembler.h" |
#include "stub-cache.h" |
@@ -146,7 +145,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; |
} |
@@ -168,7 +167,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; |
} |