| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 35a38ca3bd9a5476072c44c5f27416f4dc85e635..9f3912814655b694f591fb250d90bd0663e3a5a3 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -13215,17 +13215,15 @@ Handle<Object> JSObject::GetPropertyPostInterceptor(
|
| Isolate* isolate = object->GetIsolate();
|
| LookupResult lookup(isolate);
|
| object->LocalLookupRealNamedProperty(*name, &lookup);
|
| - Handle<Object> result;
|
| if (lookup.IsFound()) {
|
| - result = GetProperty(object, receiver, &lookup, name, attributes);
|
| + return GetProperty(object, receiver, &lookup, name, attributes);
|
| } else {
|
| // Continue searching via the prototype chain.
|
| Handle<Object> prototype(object->GetPrototype(), isolate);
|
| *attributes = ABSENT;
|
| if (prototype->IsNull()) return isolate->factory()->undefined_value();
|
| - result = GetPropertyWithReceiver(prototype, receiver, name, attributes);
|
| + return GetPropertyWithReceiver(prototype, receiver, name, attributes);
|
| }
|
| - return result;
|
| }
|
|
|
|
|
|
|