Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index 56242f3f69e938214d6112df742a41162c6e6485..f0c2fbf4c42bf51ea550f247ecf1186fa933e63c 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -486,10 +486,10 @@ static void GenerateCallNormal(MacroAssembler* masm, int argc) { |
} |
-static void GenerateCallMiss(MacroAssembler* masm, |
- int argc, |
- IC::UtilityId id, |
- Code::ExtraICState extra_ic_state) { |
+void CallICBase::GenerateMiss(MacroAssembler* masm, |
+ int argc, |
+ IC::UtilityId id, |
+ Code::ExtraICState extra_state) { |
// ----------- S t a t e ------------- |
// -- r2 : name |
// -- lr : return address |
@@ -541,7 +541,7 @@ static void GenerateCallMiss(MacroAssembler* masm, |
} |
// Invoke the function. |
- CallKind call_kind = CallICBase::Contextual::decode(extra_ic_state) |
+ CallKind call_kind = CallICBase::Contextual::decode(extra_state) |
? CALL_AS_FUNCTION |
: CALL_AS_METHOD; |
ParameterCount actual(argc); |
@@ -553,18 +553,6 @@ static void GenerateCallMiss(MacroAssembler* masm, |
} |
-void CallIC::GenerateMiss(MacroAssembler* masm, |
- int argc, |
- Code::ExtraICState extra_ic_state) { |
- // ----------- S t a t e ------------- |
- // -- r2 : name |
- // -- lr : return address |
- // ----------------------------------- |
- |
- GenerateCallMiss(masm, argc, IC::kCallIC_Miss, extra_ic_state); |
-} |
- |
- |
void CallIC::GenerateMegamorphic(MacroAssembler* masm, |
int argc, |
Code::ExtraICState extra_ic_state) { |
@@ -591,16 +579,6 @@ void CallIC::GenerateNormal(MacroAssembler* masm, int argc) { |
} |
-void KeyedCallIC::GenerateMiss(MacroAssembler* masm, int argc) { |
- // ----------- S t a t e ------------- |
- // -- r2 : name |
- // -- lr : return address |
- // ----------------------------------- |
- |
- GenerateCallMiss(masm, argc, IC::kKeyedCallIC_Miss, Code::kNoExtraICState); |
-} |
- |
- |
void KeyedCallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) { |
// ----------- S t a t e ------------- |
// -- r2 : name |