Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index edc6d41d6fe83254c74e40a590012f368223b548..92a6e29109a892aea3f9b6a7c4edb27fc95bd2c0 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -722,7 +722,7 @@ MaybeHandle<Object> LoadIC::Load(Handle<Object> object, Handle<Name> name) { |
bool use_ic = MigrateDeprecated(object) ? false : FLAG_use_ic; |
- if (FLAG_harmony_scoping && object->IsGlobalObject() && name->IsString()) { |
+ if (object->IsGlobalObject() && name->IsString()) { |
// Look up in script context table. |
Handle<String> str_name = Handle<String>::cast(name); |
Handle<GlobalObject> global = Handle<GlobalObject>::cast(object); |
@@ -1543,7 +1543,7 @@ bool StoreIC::LookupForWrite(LookupIterator* it, Handle<Object> value, |
MaybeHandle<Object> StoreIC::Store(Handle<Object> object, Handle<Name> name, |
Handle<Object> value, |
JSReceiver::StoreFromKeyed store_mode) { |
- if (FLAG_harmony_scoping && object->IsGlobalObject() && name->IsString()) { |
+ if (object->IsGlobalObject() && name->IsString()) { |
// Look up in script context table. |
Handle<String> str_name = Handle<String>::cast(name); |
Handle<GlobalObject> global = Handle<GlobalObject>::cast(object); |