Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index adfef24d09d2bdfa9ea032ea42ec6b5156556dad..c43012a7b130dbc4f460152edec9bb6b48a2d3f5 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -415,8 +415,7 @@ static void GenerateFunctionTailCall(MacroAssembler* masm, |
// Invoke the function. |
ParameterCount actual(argc); |
- __ InvokeFunction(r1, actual, JUMP_FUNCTION, |
- NullCallWrapper(), CALL_AS_METHOD); |
+ __ InvokeFunction(r1, actual, JUMP_FUNCTION, NullCallWrapper()); |
} |
@@ -497,15 +496,8 @@ void CallICBase::GenerateMiss(MacroAssembler* masm, |
} |
// Invoke the function. |
- CallKind call_kind = CallICBase::Contextual::decode(extra_state) |
- ? CALL_AS_FUNCTION |
- : CALL_AS_METHOD; |
ParameterCount actual(argc); |
- __ InvokeFunction(r1, |
- actual, |
- JUMP_FUNCTION, |
- NullCallWrapper(), |
- call_kind); |
+ __ InvokeFunction(r1, actual, JUMP_FUNCTION, NullCallWrapper()); |
} |