Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index 157c4f8f88f1f61c5ab659a2f0d27cd48e2fed4e..1cd7549f6e516af9cf40ade15f69a6edc0fb4a26 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.cc |
@@ -944,8 +944,9 @@ static void GenerateFunctionTailCall(MacroAssembler* masm, |
NullCallWrapper(), CALL_AS_METHOD); |
} |
+ |
// The generated code falls through if the call should be handled by runtime. |
-static void GenerateCallNormal(MacroAssembler* masm, int argc) { |
+void CallICBase::GenerateNormal(MacroAssembler* masm, int argc) { |
// ----------- S t a t e ------------- |
// -- ecx : name |
// -- esp[0] : return address |
@@ -1060,20 +1061,6 @@ void CallIC::GenerateMegamorphic(MacroAssembler* masm, |
} |
-void CallIC::GenerateNormal(MacroAssembler* masm, int argc) { |
- // ----------- S t a t e ------------- |
- // -- ecx : name |
- // -- esp[0] : return address |
- // -- esp[(argc - n) * 4] : arg[n] (zero-based) |
- // -- ... |
- // -- esp[(argc + 1) * 4] : receiver |
- // ----------------------------------- |
- |
- GenerateCallNormal(masm, argc); |
- GenerateMiss(masm, argc, Code::kNoExtraICState); |
-} |
- |
- |
void KeyedCallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) { |
// ----------- S t a t e ------------- |
// -- ecx : name |
@@ -1238,7 +1225,7 @@ void KeyedCallIC::GenerateNormal(MacroAssembler* masm, int argc) { |
__ JumpIfSmi(ecx, &miss); |
Condition cond = masm->IsObjectStringType(ecx, eax, eax); |
__ j(NegateCondition(cond), &miss); |
- GenerateCallNormal(masm, argc); |
+ CallICBase::GenerateNormal(masm, argc); |
__ bind(&miss); |
GenerateMiss(masm, argc); |
} |