Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index d03443f272421f04fa31eedb5ae3bbd73bbb1904..d89d3e57cbe67eb3629be6203322762211ae3d2b 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -4913,6 +4913,7 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
__ li(a0, Operand(argc_)); // Setup the number of arguments. |
__ mov(a2, zero_reg); |
__ GetBuiltinEntry(a3, Builtins::CALL_NON_FUNCTION); |
+ __ SetCallKind(t1, CALL_AS_METHOD); |
__ Jump(masm->isolate()->builtins()->ArgumentsAdaptorTrampoline(), |
RelocInfo::CODE_TARGET); |
} |