| Index: src/runtime/runtime-scopes.cc
|
| diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc
|
| index 201bf9d4c683030fcdcc3a15d94a7b51b02869ca..7bba26314b2ee276db27d038a64a18575bf01ecc 100644
|
| --- a/src/runtime/runtime-scopes.cc
|
| +++ b/src/runtime/runtime-scopes.cc
|
| @@ -933,13 +933,6 @@ static ObjectPair LoadLookupSlotHelper(Arguments args, Isolate* isolate,
|
| // property from it.
|
| if (!holder.is_null()) {
|
| Handle<JSReceiver> object = Handle<JSReceiver>::cast(holder);
|
| -#ifdef DEBUG
|
| - if (!object->IsJSProxy()) {
|
| - Maybe<bool> maybe = JSReceiver::HasProperty(object, name);
|
| - DCHECK(maybe.has_value);
|
| - DCHECK(maybe.value);
|
| - }
|
| -#endif
|
| // GetProperty below can cause GC.
|
| Handle<Object> receiver_handle(
|
| object->IsGlobalObject()
|
|
|