| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 97751470426cc62109970a2f17477e364c9e5ba4..2572c42369e608ed0c3fe9dd9ede322fc2e87930 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -13928,6 +13928,9 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SetIsObserved) {
|
| ASSERT(proto->IsJSGlobalObject());
|
| obj = JSReceiver::cast(proto);
|
| }
|
| + if (obj->IsJSProxy())
|
| + return isolate->heap()->undefined_value();
|
| +
|
| ASSERT(!(obj->map()->is_observed() && obj->IsJSObject() &&
|
| JSObject::cast(obj)->HasFastElements()));
|
| ASSERT(obj->IsJSObject());
|
|
|