diff options
Diffstat (limited to 'chromium/v8/src/mips/debug-mips.cc')
-rw-r--r-- | chromium/v8/src/mips/debug-mips.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/chromium/v8/src/mips/debug-mips.cc b/chromium/v8/src/mips/debug-mips.cc index 30cc4db6340..1535231dd81 100644 --- a/chromium/v8/src/mips/debug-mips.cc +++ b/chromium/v8/src/mips/debug-mips.cc @@ -60,7 +60,7 @@ void BreakLocationIterator::SetDebugBreakAtReturn() { // li and Call pseudo-instructions emit two instructions each. patcher.masm()->li(v8::internal::t9, Operand(reinterpret_cast<int32_t>( - Isolate::Current()->debug()->debug_break_return()->entry()))); + debug_info_->GetIsolate()->debug()->debug_break_return()->entry()))); patcher.masm()->Call(v8::internal::t9); patcher.masm()->nop(); patcher.masm()->nop(); @@ -105,7 +105,7 @@ void BreakLocationIterator::SetDebugBreakAtSlot() { // call t9 (jalr t9 / nop instruction pair) CodePatcher patcher(rinfo()->pc(), Assembler::kDebugBreakSlotInstructions); patcher.masm()->li(v8::internal::t9, Operand(reinterpret_cast<int32_t>( - Isolate::Current()->debug()->debug_break_slot()->entry()))); + debug_info_->GetIsolate()->debug()->debug_break_slot()->entry()))); patcher.masm()->Call(v8::internal::t9); } @@ -142,8 +142,7 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm, if ((non_object_regs & (1 << r)) != 0) { if (FLAG_debug_code) { __ And(at, reg, 0xc0000000); - __ Assert( - eq, "Unable to encode value as smi", at, Operand(zero_reg)); + __ Assert(eq, kUnableToEncodeValueAsSmi, at, Operand(zero_reg)); } __ sll(reg, reg, kSmiTagSize); } @@ -325,12 +324,12 @@ void Debug::GenerateSlotDebugBreak(MacroAssembler* masm) { void Debug::GeneratePlainReturnLiveEdit(MacroAssembler* masm) { - masm->Abort("LiveEdit frame dropping is not supported on mips"); + masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnMips); } void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { - masm->Abort("LiveEdit frame dropping is not supported on mips"); + masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnMips); } |