| Index: src/mips64/builtins-mips64.cc
|
| diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc
|
| index 655d5904d043c6b7f6ad598e6988fdd700151135..ceb3bcd66fa0c00fb6a4e0e3e9e2c6285915e9bd 100644
|
| --- a/src/mips64/builtins-mips64.cc
|
| +++ b/src/mips64/builtins-mips64.cc
|
| @@ -762,7 +762,7 @@ static void Generate_CheckStackOverflow(MacroAssembler* masm,
|
| __ SmiTag(argc);
|
| }
|
| __ Push(a1, argc);
|
| - __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION);
|
| + __ CallRuntime(Runtime::kThrowStackOverflow, 0);
|
|
|
| __ bind(&okay);
|
| }
|
| @@ -909,7 +909,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
|
| __ Dsubu(a5, sp, Operand(a4));
|
| __ LoadRoot(a2, Heap::kRealStackLimitRootIndex);
|
| __ Branch(&ok, hs, a5, Operand(a2));
|
| - __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION);
|
| + __ CallRuntime(Runtime::kThrowStackOverflow, 0);
|
| __ bind(&ok);
|
|
|
| // If ok, push undefined as the initial value for all register file entries.
|
| @@ -1808,7 +1808,7 @@ void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) {
|
| {
|
| FrameScope frame(masm, StackFrame::MANUAL);
|
| EnterArgumentsAdaptorFrame(masm);
|
| - __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION);
|
| + __ CallRuntime(Runtime::kThrowStackOverflow, 0);
|
| __ break_(0xCC);
|
| }
|
| }
|
|
|