Index: src/mips/ic-mips.cc |
diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc |
index 798abfceca0ab455aa96bbd72c175251309202a6..6c5d7c285022fe06b1336479bddad2e8d53aa5df 100644 |
--- a/src/mips/ic-mips.cc |
+++ b/src/mips/ic-mips.cc |
@@ -417,8 +417,7 @@ static void GenerateFunctionTailCall(MacroAssembler* masm, |
// Invoke the function. |
ParameterCount actual(argc); |
- __ InvokeFunction(a1, actual, JUMP_FUNCTION, |
- NullCallWrapper(), CALL_AS_METHOD); |
+ __ InvokeFunction(a1, actual, JUMP_FUNCTION, NullCallWrapper()); |
} |
@@ -498,15 +497,8 @@ void CallICBase::GenerateMiss(MacroAssembler* masm, |
__ bind(&invoke); |
} |
// Invoke the function. |
- CallKind call_kind = CallICBase::Contextual::decode(extra_state) |
- ? CALL_AS_FUNCTION |
- : CALL_AS_METHOD; |
ParameterCount actual(argc); |
- __ InvokeFunction(a1, |
- actual, |
- JUMP_FUNCTION, |
- NullCallWrapper(), |
- call_kind); |
+ __ InvokeFunction(a1, actual, JUMP_FUNCTION, NullCallWrapper()); |
} |