Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 3876eb39f8ef1aa16a98f5db3511cef08d1546ad..41ba3a67919dbf66aaf9895fb57b1168310b1546 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -147,7 +147,7 @@ void FullCodeGenerator::Generate() { |
__ subp(rcx, Immediate(locals_count * kPointerSize)); |
__ CompareRoot(rcx, Heap::kRealStackLimitRootIndex); |
__ j(above_equal, &ok, Label::kNear); |
- __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION); |
+ __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
__ bind(&ok); |
} |
__ LoadRoot(rdx, Heap::kUndefinedValueRootIndex); |