| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index e1cd390d7bc612c9a0cadcc166f79f1cad4a32cd..ddcba5987d18b22d94f216b37e852844caf217c3 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -997,7 +997,7 @@ MaybeHandle<Object> JSProxy::GetPrototype(Handle<JSProxy> proxy) {
|
| if (is_extensible.FromJust()) return handler_proto;
|
| // 11. Let targetProto be ? target.[[GetPrototypeOf]]().
|
| Handle<Object> target_proto;
|
| - ASSIGN_RETURN_ON_EXCEPTION(isolate, handler_proto,
|
| + ASSIGN_RETURN_ON_EXCEPTION(isolate, target_proto,
|
| Object::GetPrototype(isolate, target), Object);
|
| // 12. If SameValue(handlerProto, targetProto) is false, throw a TypeError.
|
| if (!handler_proto->SameValue(*target_proto)) {
|
|
|