Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 74ffd3b6f5821c5e4bfbc6071a1baa5a530be6c8..c2a9796c87d8716664b4fb432f1dab226d42e352 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -2112,8 +2112,8 @@ MaybeObject* CallStubCompiler::CompileCallConstant(Object* object, |
// -- lr : return address |
// ----------------------------------- |
SharedFunctionInfo* function_info = function->shared(); |
- if (function_info->HasCustomCallGenerator()) { |
- const int id = function_info->custom_call_generator_id(); |
+ if (function_info->HasBuiltinFunctionId()) { |
+ BuiltinFunctionId id = function_info->builtin_function_id(); |
MaybeObject* maybe_result = CompileCustomCall( |
id, object, holder, NULL, function, name); |
Object* result; |
@@ -2323,8 +2323,8 @@ MaybeObject* CallStubCompiler::CompileCallGlobal(JSObject* object, |
// ----------------------------------- |
SharedFunctionInfo* function_info = function->shared(); |
- if (function_info->HasCustomCallGenerator()) { |
- const int id = function_info->custom_call_generator_id(); |
+ if (function_info->HasBuiltinFunctionId()) { |
+ BuiltinFunctionId id = function_info->builtin_function_id(); |
MaybeObject* maybe_result = CompileCustomCall( |
id, object, holder, cell, function, name); |
Object* result; |