Index: src/builtins/mips/builtins-mips.cc |
diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc |
index c70c81cde6ddca677ecc707f87494cdb089646dc..63c3329e24dcc8e566b8cd738eb3f3008f21e5cb 100644 |
--- a/src/builtins/mips/builtins-mips.cc |
+++ b/src/builtins/mips/builtins-mips.cc |
@@ -2794,6 +2794,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); |