| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 1d2fb8663379ebab158c6abf2c6733bd86529417..214c0a45fd3feed8af698fb5096533b7f506ae43 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1510,7 +1510,7 @@ 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,
|
| @@ -2365,7 +2365,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());
|
|
|