Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 76682e3c8548e2bb1257338abbee51e28cde55e0..9badcbac3f0c4e6283f5d9a06143c1d8b1fc190c 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -150,7 +150,7 @@ void FullCodeGenerator::Generate() { |
ExternalReference::address_of_real_stack_limit(isolate()); |
__ cmp(ecx, Operand::StaticVariable(stack_limit)); |
__ j(above_equal, &ok, Label::kNear); |
- __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION); |
+ __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
__ bind(&ok); |
} |
__ mov(eax, Immediate(isolate()->factory()->undefined_value())); |