Index: src/builtins/arm64/builtins-arm64.cc |
diff --git a/src/builtins/arm64/builtins-arm64.cc b/src/builtins/arm64/builtins-arm64.cc |
index 62653d2395cfb4913a37b1f7733634d55afbfe9d..95eb7a2c2cd3b3d5ae59e2c45a8e103008a6687e 100644 |
--- a/src/builtins/arm64/builtins-arm64.cc |
+++ b/src/builtins/arm64/builtins-arm64.cc |
@@ -2811,6 +2811,19 @@ void Builtins::Generate_AllocateInOldSpace(MacroAssembler* masm) { |
} |
// static |
+void Builtins::Generate_Abort(MacroAssembler* masm) { |
+ ASM_LOCATION("Builtins::Generate_Abort"); |
+ // ----------- S t a t e ------------- |
+ // -- x1 : message_id as Smi |
+ // -- lr : return address |
+ // ----------------------------------- |
+ MacroAssembler::NoUseRealAbortsScope no_use_real_aborts(masm); |
+ __ Push(x1); |
+ __ Move(cp, Smi::FromInt(0)); |
+ __ TailCallRuntime(Runtime::kAbort); |
+} |
+ |
+// static |
void Builtins::Generate_StringToNumber(MacroAssembler* masm) { |
// The StringToNumber stub takes one argument in x0. |
__ AssertString(x0); |