Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index a3f99e4ce80946b14e6179f25f02686152f8a788..5392fbc5735a01ccc12694e162895edf233ef4eb 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -1687,7 +1687,9 @@ MaybeObject* KeyedStoreIC::Store(Handle<Object> object, |
JSReceiver::MAY_BE_STORE_FROM_KEYED); |
if (maybe_object->IsFailure()) return maybe_object; |
} else { |
- bool use_ic = FLAG_use_ic && !object->IsAccessCheckNeeded() && |
+ bool use_ic = FLAG_use_ic && |
+ !object->IsAccessCheckNeeded() && |
+ !object->IsJSGlobalProxy() && |
!(object->IsJSObject() && |
JSObject::cast(*object)->map()->is_observed()); |
if (use_ic && !object->IsSmi()) { |