| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 948f4a6d5c42057738a478c9f0bb98f4138e7210..59e6b004e98e664652f44ae17c4a9c31b905071f 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -4586,12 +4586,6 @@ void JSReceiver::LocalLookup(
|
|
|
| JSObject* js_object = JSObject::cast(this);
|
|
|
| - // Check __proto__ before interceptor.
|
| - if (name->Equals(heap->Proto_symbol()) && !IsJSContextExtensionObject()) {
|
| - result->ConstantResult(js_object);
|
| - return;
|
| - }
|
| -
|
| // Check for lookup interceptor except when bootstrapping.
|
| if (js_object->HasNamedInterceptor() &&
|
| !heap->isolate()->bootstrapper()->IsActive()) {
|
|
|