Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 43375b050455e6e2e16a423ea009a848f6d79e22..38f1960594e400960903ab4588d6c27e971c5d56 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -418,12 +418,9 @@ static void FillCache(Isolate* isolate, Handle<Code> code) { |
} |
-Code* StubCache::FindCallInitialize(int argc, |
- ContextualMode mode, |
- Code::Kind kind) { |
+Code* StubCache::FindCallInitialize(int argc, Code::Kind kind) { |
ExtraICState extra_state = |
- CallICBase::StringStubState::encode(DEFAULT_STRING_STUB) | |
- CallICBase::Contextual::encode(mode); |
+ CallICBase::StringStubState::encode(DEFAULT_STRING_STUB); |
Code::Flags flags = |
Code::ComputeFlags(kind, UNINITIALIZED, extra_state, Code::NORMAL, argc); |
UnseededNumberDictionary* dictionary = |
@@ -450,11 +447,9 @@ Code* StubCache::FindPreMonomorphicIC(Code::Kind kind, ExtraICState state) { |
} |
-Handle<Code> StubCache::ComputeCallInitialize(int argc, |
- ContextualMode mode, |
- Code::Kind kind) { |
+Handle<Code> StubCache::ComputeCallInitialize(int argc, Code::Kind kind) { |
ExtraICState extra_state = |
- CallICBase::ComputeExtraICState(mode, DEFAULT_STRING_STUB); |
+ CallICBase::ComputeExtraICState(DEFAULT_STRING_STUB); |
Code::Flags flags = |
Code::ComputeFlags(kind, UNINITIALIZED, extra_state, Code::NORMAL, argc); |
Handle<UnseededNumberDictionary> cache = |
@@ -469,13 +464,13 @@ Handle<Code> StubCache::ComputeCallInitialize(int argc, |
} |
-Handle<Code> StubCache::ComputeCallInitialize(int argc, ContextualMode mode) { |
- return ComputeCallInitialize(argc, mode, Code::CALL_IC); |
+Handle<Code> StubCache::ComputeCallInitialize(int argc) { |
+ return ComputeCallInitialize(argc, Code::CALL_IC); |
} |
Handle<Code> StubCache::ComputeKeyedCallInitialize(int argc) { |
- return ComputeCallInitialize(argc, NOT_CONTEXTUAL, Code::KEYED_CALL_IC); |
+ return ComputeCallInitialize(argc, Code::KEYED_CALL_IC); |
} |