Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index d75b3e9799abae97e9fad7e6fc99c66bf99b209d..a6b7a1df8c7a3a98535cb835ebf91cda33c5e912 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -1316,11 +1316,9 @@ static bool LookupForWrite(Handle<JSObject> receiver, |
LookupResult* lookup) { |
receiver->LocalLookup(*name, lookup); |
if (!StoreICableLookup(lookup)) { |
- // 2nd chance: There can be accessors somewhere in the prototype chain, but |
- // for compatibility reasons we have to hide this behind a flag. Note that |
- // we explicitly exclude native accessors for now, because the stubs are not |
- // yet prepared for this scenario. |
- if (!FLAG_es5_readonly) return false; |
+ // 2nd chance: There can be accessors somewhere in the prototype chain. Note |
+ // that we explicitly exclude native accessors for now, because the stubs |
+ // are not yet prepared for this scenario. |
receiver->Lookup(*name, lookup); |
if (!lookup->IsCallbacks()) return false; |
Handle<Object> callback(lookup->GetCallbackObject()); |