Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 25f875a8379308e3230592f8a74348dffa5672df..cbc881915da44be83da5920946ec87804b5ae2e3 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -2053,7 +2053,7 @@ RUNTIME_FUNCTION(MaybeObject*, CallIC_Miss) { |
if (raw_function->is_compiled()) return raw_function; |
Handle<JSFunction> function(raw_function); |
- JSFunction::CompileLazy(function, CLEAR_EXCEPTION); |
+ Compiler::EnsureCompiled(function, CLEAR_EXCEPTION); |
return *function; |
} |
@@ -2074,7 +2074,7 @@ RUNTIME_FUNCTION(MaybeObject*, KeyedCallIC_Miss) { |
if (raw_function->is_compiled()) return raw_function; |
Handle<JSFunction> function(raw_function, isolate); |
- JSFunction::CompileLazy(function, CLEAR_EXCEPTION); |
+ Compiler::EnsureCompiled(function, CLEAR_EXCEPTION); |
return *function; |
} |
@@ -2154,7 +2154,7 @@ RUNTIME_FUNCTION(MaybeObject*, KeyedCallIC_MissFromStubFailure) { |
if (raw_function->is_compiled()) return raw_function; |
Handle<JSFunction> function(raw_function, isolate); |
- JSFunction::CompileLazy(function, CLEAR_EXCEPTION); |
+ Compiler::EnsureCompiled(function, CLEAR_EXCEPTION); |
return *function; |
} |