Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index c7d4fee44f438475b10ca771d96abe91adf4dad8..a792af8154422970fa5b69bb6dd6708e23d75fc4 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -1110,7 +1110,7 @@ static Object* Runtime_NewObjectHelper(Isolate* isolate, |
// The function should be compiled for the optimization hints to be |
// available. |
- Compiler::EnsureCompiled(function, CLEAR_EXCEPTION); |
+ Compiler::Compile(function, CLEAR_EXCEPTION); |
Handle<JSObject> result; |
if (site.is_null()) { |