Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index fe7d77eaa26f870d70f6a75c5f88ce055c894b76..a1759c3b6da9fcf54afa2191d4c961e9f2bae3ca 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -227,6 +227,17 @@ void BinaryOpICStub::GenerateAheadOfTime(Isolate* isolate) { |
} |
+void CallICStub::GenerateAheadOfTime(Isolate* isolate) { |
+ // Generate the uninitialized versions of the stub. |
+ for (int arg_count = 0; arg_count < 4; arg_count++) { |
+ CallICStub stub(CallIC::State(arg_count, CallIC::METHOD)); |
+ stub.GetCode(isolate); |
+ CallICStub stub2(CallIC::State(arg_count, CallIC::FUNCTION)); |
+ stub2.GetCode(isolate); |
+ } |
+} |
+ |
+ |
void BinaryOpICStub::PrintState(StringStream* stream) { |
state_.Print(stream); |
} |
@@ -499,6 +510,11 @@ Type* CompareNilICStub::GetInputType(Zone* zone, Handle<Map> map) { |
} |
+void CallICStub::PrintState(StringStream* stream) { |
+ state_.Print(stream); |
+} |
+ |
+ |
void InstanceofStub::PrintName(StringStream* stream) { |
const char* args = ""; |
if (HasArgsInRegisters()) { |