Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 6c56ac47276dd85d4bfa8a4ec3068c6a7674d344..859b5c209f0c7df11b915e697ffd70657b1ebc25 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -5799,19 +5799,16 @@ |
} |
#endif |
- // Check if Abort() has already been initialized. |
- DCHECK(isolate()->builtins()->Abort()->IsHeapObject()); |
- |
- Move(a0, Smi::FromInt(static_cast<int>(reason))); |
- |
+ li(a0, Operand(Smi::FromInt(reason))); |
+ push(a0); |
// Disable stub call restrictions to always allow calls to abort. |
if (!has_frame_) { |
// We don't actually want to generate a pile of code for this, so just |
// claim there is a stack frame, without generating one. |
FrameScope scope(this, StackFrame::NONE); |
- Call(isolate()->builtins()->Abort(), RelocInfo::CODE_TARGET); |
- } else { |
- Call(isolate()->builtins()->Abort(), RelocInfo::CODE_TARGET); |
+ CallRuntime(Runtime::kAbort); |
+ } else { |
+ CallRuntime(Runtime::kAbort); |
} |
// Will not return here. |
if (is_trampoline_pool_blocked()) { |