| Index: src/runtime/runtime-scopes.cc
|
| diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc
|
| index e36fd842149b28e22ee2fe3477dcba5c3e0d666d..14759776c03c01efca6a1f9ad290f1a330ac713b 100644
|
| --- a/src/runtime/runtime-scopes.cc
|
| +++ b/src/runtime/runtime-scopes.cc
|
| @@ -968,7 +968,7 @@ MaybeHandle<Object> StoreLookupSlot(Handle<String> name, Handle<Object> value,
|
| // The property was found in a context slot.
|
| if (index != Context::kNotFound) {
|
| if (flags == BINDING_CHECK_INITIALIZED &&
|
| - 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);
|
|
|