Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 368b649a69ddde0a2b0e647b07cb9a3674c42970..6b32d9d2c3926b942f58e116fb604f595e8f8672 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.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(); |
} |
} |