Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 1d2fb8663379ebab158c6abf2c6733bd86529417..ea79b6588feebbc9ffc345de1fa662f61e502b08 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1510,11 +1510,9 @@ bool Genesis::CompileScriptCached(Isolate* isolate, |
if (cache == NULL || !cache->Lookup(name, &function_info)) { |
ASSERT(source->IsOneByteRepresentation()); |
Handle<String> script_name = factory->NewStringFromUtf8(name); |
- function_info = Compiler::Compile( |
+ function_info = Compiler::CompileScript( |
source, |
- script_name, |
- 0, |
- 0, |
+ script_name, 0, 0, |
titzer
2013/12/09 14:49:28
formatting changes on this line.
|
false, |
top_context, |
extension, |
@@ -2365,7 +2363,7 @@ bool Genesis::InstallJSBuiltins(Handle<JSBuiltinsObject> builtins) { |
Handle<JSFunction> function |
= Handle<JSFunction>(JSFunction::cast(function_object)); |
builtins->set_javascript_builtin(id, *function); |
- if (!JSFunction::CompileLazy(function, CLEAR_EXCEPTION)) { |
+ if (!Compiler::EnsureCompiled(function, CLEAR_EXCEPTION)) { |
return false; |
} |
builtins->set_javascript_builtin_code(id, function->shared()->code()); |