| Index: src/runtime/runtime-scopes.cc
|
| diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc
|
| index 0c037db307a60ca994da643e9a2554b462654ced..377799fe047dbc6539463e032028eb4fb561db97 100644
|
| --- a/src/runtime/runtime-scopes.cc
|
| +++ b/src/runtime/runtime-scopes.cc
|
| @@ -903,7 +903,7 @@ MaybeHandle<Object> StoreLookupSlot(Handle<String> name, Handle<Object> value,
|
| // The property was found in a context slot.
|
| if (index != Context::kNotFound) {
|
| if (flag == kNeedsInitialization &&
|
| - Handle<Context>::cast(holder)->is_the_hole(index)) {
|
| + Handle<Context>::cast(holder)->is_the_hole(isolate, index)) {
|
| THROW_NEW_ERROR(isolate,
|
| NewReferenceError(MessageTemplate::kNotDefined, name),
|
| Object);
|
|
|