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..f4af8fdb9d19203f350a6434ebc3c1affeec8ad8 100644 |
--- a/src/builtins/arm64/builtins-arm64.cc |
+++ b/src/builtins/arm64/builtins-arm64.cc |
@@ -2811,6 +2811,18 @@ 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 |
+ // ----------------------------------- |
+ __ 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); |