Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index 0c0132878c50fe2f18128cdb926c739263fc5a9e..4f96de60c973ade3c9c2e33a77d951fb7f2d20db 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -2816,6 +2816,17 @@ void Builtins::Generate_AllocateInOldSpace(MacroAssembler* masm) { |
} |
// static |
+void Builtins::Generate_Abort(MacroAssembler* masm) { |
+ // ----------- S t a t e ------------- |
+ // -- r3 : message_id as Smi |
+ // -- lr : return address |
+ // ----------------------------------- |
+ __ push(r3); |
+ __ LoadSmiLiteral(cp, Smi::FromInt(0)); |
+ __ TailCallRuntime(Runtime::kAbort); |
+} |
+ |
+// static |
void Builtins::Generate_StringToNumber(MacroAssembler* masm) { |
// The StringToNumber stub takes one argument in r2. |
__ AssertString(r2); |