| Index: src/mips/macro-assembler-mips.h
|
| diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h
|
| index c7f06210185c3972a6cd5913be83df57d9335eb4..c67d7fe149b8158cb6d8a179ad3ec54b41d29141 100644
|
| --- a/src/mips/macro-assembler-mips.h
|
| +++ b/src/mips/macro-assembler-mips.h
|
| @@ -116,7 +116,7 @@ inline MemOperand FieldMemOperand(Register object, int offset) {
|
| // Generate a MemOperand for storing arguments 5..N on the stack
|
| // when calling CallCFunction().
|
| inline MemOperand CFunctionArgumentOperand(int index) {
|
| - ASSERT(index > kCArgSlotCount);
|
| + DCHECK(index > kCArgSlotCount);
|
| // Argument 5 takes the slot just past the four Arg-slots.
|
| int offset = (index - 5) * kPointerSize + kCArgsSlotsSize;
|
| return MemOperand(sp, offset);
|
| @@ -456,7 +456,7 @@ class MacroAssembler: public Assembler {
|
| // nop(type)). These instructions are generated to mark special location in
|
| // the code, like some special IC code.
|
| static inline bool IsMarkedCode(Instr instr, int type) {
|
| - ASSERT((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER));
|
| + DCHECK((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER));
|
| return IsNop(instr, type);
|
| }
|
|
|
| @@ -474,7 +474,7 @@ class MacroAssembler: public Assembler {
|
| rs == static_cast<uint32_t>(ToNumber(zero_reg)));
|
| int type =
|
| (sllzz && FIRST_IC_MARKER <= sa && sa < LAST_CODE_MARKER) ? sa : -1;
|
| - ASSERT((type == -1) ||
|
| + DCHECK((type == -1) ||
|
| ((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER)));
|
| return type;
|
| }
|
| @@ -689,7 +689,7 @@ class MacroAssembler: public Assembler {
|
|
|
| // Pop two registers. Pops rightmost register first (from lower address).
|
| void Pop(Register src1, Register src2) {
|
| - ASSERT(!src1.is(src2));
|
| + DCHECK(!src1.is(src2));
|
| lw(src2, MemOperand(sp, 0 * kPointerSize));
|
| lw(src1, MemOperand(sp, 1 * kPointerSize));
|
| Addu(sp, sp, 2 * kPointerSize);
|
| @@ -1076,7 +1076,7 @@ class MacroAssembler: public Assembler {
|
| lw(type, FieldMemOperand(obj, HeapObject::kMapOffset));
|
| lbu(type, FieldMemOperand(type, Map::kInstanceTypeOffset));
|
| And(type, type, Operand(kIsNotStringMask));
|
| - ASSERT_EQ(0, kStringTag);
|
| + DCHECK_EQ(0, kStringTag);
|
| return eq;
|
| }
|
|
|
| @@ -1288,7 +1288,7 @@ const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT
|
| };
|
|
|
| Handle<Object> CodeObject() {
|
| - ASSERT(!code_object_.is_null());
|
| + DCHECK(!code_object_.is_null());
|
| return code_object_;
|
| }
|
|
|
|
|