Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 992df1b1b0a0f13fb9a209dfde51dd9d5a915fe9..163172d8eb4df42e68c395c528f1864fb68ca49c 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -1365,8 +1365,7 @@ Handle<Code> LoadIC::ComputeLoadHandler(LookupResult* lookup, |
Handle<JSFunction> function = Handle<JSFunction>::cast(getter); |
CallOptimization call_optimization(function); |
if (call_optimization.is_simple_api_call() && |
- call_optimization.IsCompatibleReceiver(*receiver) && |
- FLAG_js_accessor_ics) { |
+ call_optimization.IsCompatibleReceiver(*receiver)) { |
return isolate()->stub_cache()->ComputeLoadCallback( |
name, receiver, holder, call_optimization); |
} |
@@ -1577,8 +1576,7 @@ Handle<Code> KeyedLoadIC::ComputeLoadHandler(LookupResult* lookup, |
Handle<JSFunction> function = Handle<JSFunction>::cast(getter); |
CallOptimization call_optimization(function); |
if (call_optimization.is_simple_api_call() && |
- call_optimization.IsCompatibleReceiver(*receiver) && |
- FLAG_js_accessor_ics) { |
+ call_optimization.IsCompatibleReceiver(*receiver)) { |
return isolate()->stub_cache()->ComputeKeyedLoadCallback( |
name, receiver, holder, call_optimization); |
} |
@@ -1856,8 +1854,7 @@ Handle<Code> StoreIC::ComputeStoreMonomorphic(LookupResult* lookup, |
Handle<JSFunction> function = Handle<JSFunction>::cast(setter); |
CallOptimization call_optimization(function); |
if (call_optimization.is_simple_api_call() && |
- call_optimization.IsCompatibleReceiver(*receiver) && |
- FLAG_js_accessor_ics) { |
+ call_optimization.IsCompatibleReceiver(*receiver)) { |
return isolate()->stub_cache()->ComputeStoreCallback( |
name, receiver, holder, call_optimization, strict_mode); |
} |