Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 3174f4b54a8f26e0b99b8329d2820bb59e59b64a..cb68b89efb37eb1d4d25b7ffb7d7d480a860f8b2 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -115,17 +115,9 @@ Handle<Code> StubCache::FindIC(Handle<Name> name, |
Handle<Code> StubCache::FindHandler(Handle<Name> name, |
Handle<Map> stub_holder, |
Code::Kind kind, |
- InlineCacheHolderFlag cache_holder, |
- StrictModeFlag strict_mode) { |
- ExtraICState extra_ic_state = kNoExtraICState; |
- if (kind == Code::STORE_IC) { |
- extra_ic_state = StoreIC::ComputeExtraICState(strict_mode); |
- } else if (kind == Code::KEYED_STORE_IC) { |
- extra_ic_state = KeyedStoreIC::ComputeExtraICState(strict_mode, |
- STANDARD_STORE); |
- } |
+ InlineCacheHolderFlag cache_holder) { |
Code::Flags flags = Code::ComputeMonomorphicFlags( |
- Code::HANDLER, extra_ic_state, cache_holder, Code::NORMAL, kind); |
+ Code::HANDLER, kNoExtraICState, cache_holder, Code::NORMAL, kind); |
Handle<Object> probe(stub_holder->FindInCodeCache(*name, flags), isolate_); |
if (probe->IsCode()) return Handle<Code>::cast(probe); |