Index: src/mips/debug-mips.cc |
diff --git a/src/mips/debug-mips.cc b/src/mips/debug-mips.cc |
index 30cc4db63409f0dfce6bdcf99493947265a0a735..020228fc6b52ce98fbba68e998a9554af9e89fd5 100644 |
--- a/src/mips/debug-mips.cc |
+++ b/src/mips/debug-mips.cc |
@@ -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); |
} |