| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 962889a7cbc6c080b039f0f6919eae4a2186bfbf..3f913fc280f1b15ba0a4ee05b88f705f6bbda958 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -10655,7 +10655,8 @@ static bool CopyContextLocalsToScopeObject(
|
|
|
| RETURN_IF_EMPTY_HANDLE_VALUE(
|
| isolate,
|
| - SetProperty(scope_object,
|
| + SetProperty(isolate,
|
| + scope_object,
|
| Handle<String>(scope_info->ContextLocalName(i)),
|
| Handle<Object>(context->get(context_index), isolate),
|
| NONE,
|
| @@ -10690,7 +10691,8 @@ static Handle<JSObject> MaterializeLocalScopeWithFrameInspector(
|
|
|
| RETURN_IF_EMPTY_HANDLE_VALUE(
|
| isolate,
|
| - SetProperty(local_scope,
|
| + SetProperty(isolate,
|
| + local_scope,
|
| Handle<String>(scope_info->ParameterName(i)),
|
| value,
|
| NONE,
|
| @@ -10702,7 +10704,8 @@ static Handle<JSObject> MaterializeLocalScopeWithFrameInspector(
|
| for (int i = 0; i < scope_info->StackLocalCount(); ++i) {
|
| RETURN_IF_EMPTY_HANDLE_VALUE(
|
| isolate,
|
| - SetProperty(local_scope,
|
| + SetProperty(isolate,
|
| + local_scope,
|
| Handle<String>(scope_info->StackLocalName(i)),
|
| Handle<Object>(frame_inspector->GetExpression(i)),
|
| NONE,
|
| @@ -10736,7 +10739,8 @@ static Handle<JSObject> MaterializeLocalScopeWithFrameInspector(
|
| Handle<String> key(String::cast(keys->get(i)));
|
| RETURN_IF_EMPTY_HANDLE_VALUE(
|
| isolate,
|
| - SetProperty(local_scope,
|
| + SetProperty(isolate,
|
| + local_scope,
|
| key,
|
| GetProperty(ext, key),
|
| NONE,
|
| @@ -10797,7 +10801,8 @@ static Handle<JSObject> MaterializeClosure(Isolate* isolate,
|
| Handle<String> key(String::cast(keys->get(i)));
|
| RETURN_IF_EMPTY_HANDLE_VALUE(
|
| isolate,
|
| - SetProperty(closure_scope,
|
| + SetProperty(isolate,
|
| + closure_scope,
|
| key,
|
| GetProperty(ext, key),
|
| NONE,
|
| @@ -10821,7 +10826,12 @@ static Handle<JSObject> MaterializeCatchScope(Isolate* isolate,
|
| isolate->factory()->NewJSObject(isolate->object_function());
|
| RETURN_IF_EMPTY_HANDLE_VALUE(
|
| isolate,
|
| - SetProperty(catch_scope, name, thrown_object, NONE, kNonStrictMode),
|
| + SetProperty(isolate,
|
| + catch_scope,
|
| + name,
|
| + thrown_object,
|
| + NONE,
|
| + kNonStrictMode),
|
| Handle<JSObject>());
|
| return catch_scope;
|
| }
|
|
|