Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 43d0ab94eb68dbccb07093c471252df58410b657..e6722f74cce84cb716cba3fd461ffe2ac1f872e9 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -774,11 +774,10 @@ Handle<Code> StubCache::ComputeCallNormal(int argc, |
} |
-Handle<Code> StubCache::ComputeCallArguments(int argc, Code::Kind kind) { |
- ASSERT(kind == Code::KEYED_CALL_IC); |
+Handle<Code> StubCache::ComputeCallArguments(int argc) { |
Code::Flags flags = |
- Code::ComputeFlags(kind, MEGAMORPHIC, Code::kNoExtraICState, |
- Code::NORMAL, argc); |
+ Code::ComputeFlags(Code::KEYED_CALL_IC, MEGAMORPHIC, |
+ Code::kNoExtraICState, Code::NORMAL, argc); |
Handle<UnseededNumberDictionary> cache = |
isolate_->factory()->non_monomorphic_cache(); |
int entry = cache->FindEntry(isolate_, flags); |