Index: src/builtins/mips64/builtins-mips64.cc |
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc |
index 10f2cd7b60ad7400cc9aa0a7b117bcf7d2eecc66..ffbc63eaa90328d05ca167dd0aada544bc1036a5 100644 |
--- a/src/builtins/mips64/builtins-mips64.cc |
+++ b/src/builtins/mips64/builtins-mips64.cc |
@@ -2788,6 +2788,17 @@ void Builtins::Generate_AllocateInOldSpace(MacroAssembler* masm) { |
} |
// static |
+void Builtins::Generate_Abort(MacroAssembler* masm) { |
+ // ----------- S t a t e ------------- |
+ // -- a0 : message_id as Smi |
+ // -- ra : return address |
+ // ----------------------------------- |
+ __ Push(a0); |
+ __ Move(cp, Smi::FromInt(0)); |
+ __ TailCallRuntime(Runtime::kAbort); |
+} |
+ |
+// static |
void Builtins::Generate_StringToNumber(MacroAssembler* masm) { |
// The StringToNumber stub takes on argument in a0. |
__ AssertString(a0); |