Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index e460ac3220523de43e0792d03a4a7646a548bd2a..762bdc832dc16eb467302542c897d821b587b036 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -159,7 +159,7 @@ void FullCodeGenerator::Generate() { |
__ Sub(x10, jssp, locals_count * kPointerSize); |
__ CompareRoot(x10, Heap::kRealStackLimitRootIndex); |
__ B(hs, &ok); |
- __ InvokeBuiltin(Context::STACK_OVERFLOW_BUILTIN_INDEX, CALL_FUNCTION); |
+ __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
__ Bind(&ok); |
} |
__ LoadRoot(x10, Heap::kUndefinedValueRootIndex); |