Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 352eae1f927577d815d76c7089df232c6dfdb627..99888b0898ec7a4201fd5ad6adacc558cc6f44a8 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -2133,8 +2133,8 @@ MaybeObject* CallStubCompiler::CompileCallConstant(Object* 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, NULL, function, name); |
Object* result; |
@@ -2375,8 +2375,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; |