Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index 069bd8b548cd91e927d04d7b81b951cbcb76e253..31cda72874ee10b31cc7dc7dffdd99f91779d561 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -215,7 +215,7 @@ RUNTIME_FUNCTION(Runtime_SetCode) { |
Handle<SharedFunctionInfo> source_shared(source->shared()); |
RUNTIME_ASSERT(!source_shared->bound()); |
- if (!Compiler::EnsureCompiled(source, KEEP_EXCEPTION)) { |
+ if (!Compiler::Compile(source, KEEP_EXCEPTION)) { |
return isolate->heap()->exception(); |
} |