| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index dc859b4a18ac5d932375c0a2810b9eeb61d42e54..f1fbdebec65a3e7b6fb8ec17683d94ccfbfc7181 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1552,7 +1552,7 @@ bool Genesis::CompileScriptCached(Isolate* isolate,
|
| : top_context->global_object(),
|
| isolate);
|
| bool has_pending_exception;
|
| - Execution::Call(fun, receiver, 0, NULL, &has_pending_exception);
|
| + Execution::Call(isolate, fun, receiver, 0, NULL, &has_pending_exception);
|
| if (has_pending_exception) return false;
|
| return true;
|
| }
|
| @@ -2604,7 +2604,7 @@ Genesis::Genesis(Isolate* isolate,
|
| // We can only de-serialize a context if the isolate was initialized from
|
| // a snapshot. Otherwise we have to build the context from scratch.
|
| if (isolate->initialized_from_snapshot()) {
|
| - native_context_ = Snapshot::NewContextFromSnapshot();
|
| + native_context_ = Snapshot::NewContextFromSnapshot(isolate);
|
| } else {
|
| native_context_ = Handle<Context>();
|
| }
|
|
|