Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index f8c3b0669f09272ee32f029a5dc4c1fb08448b81..e338ae301982c068666943c4f0b23c652f54355e 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); |