Index: src/x87/builtins-x87.cc |
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc |
index f955c811d8c7c7a0e95e53717535b590a9df0a24..745a4169bca38930f8ed4720defbd4786a3ee900 100644 |
--- a/src/x87/builtins-x87.cc |
+++ b/src/x87/builtins-x87.cc |
@@ -522,7 +522,7 @@ static void Generate_CheckStackOverflow(MacroAssembler* masm, |
__ SmiTag(eax); |
} |
__ push(eax); |
- __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION); |
+ __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
__ bind(&okay); |
} |
@@ -660,7 +660,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
ExternalReference::address_of_real_stack_limit(masm->isolate()); |
__ cmp(ecx, Operand::StaticVariable(stack_limit)); |
__ j(above_equal, &ok); |
- __ 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. |
@@ -1699,7 +1699,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); |
__ int3(); |
} |
} |