| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 68e25dcdb187a15869b892b2f02eb5aa685318c8..4f24392062b6e04941c423e87c4328e59ef0fb46 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -171,7 +171,7 @@ class LCodeGen;
|
| return mnemonic; \
|
| } \
|
| static L##type* cast(LInstruction* instr) { \
|
| - ASSERT(instr->Is##type()); \
|
| + DCHECK(instr->Is##type()); \
|
| return reinterpret_cast<L##type*>(instr); \
|
| }
|
|
|
| @@ -331,7 +331,7 @@ class LGap : public LTemplateInstruction<0, 0, 0> {
|
| virtual bool IsGap() const V8_FINAL V8_OVERRIDE { return true; }
|
| virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
|
| static LGap* cast(LInstruction* instr) {
|
| - ASSERT(instr->IsGap());
|
| + DCHECK(instr->IsGap());
|
| return reinterpret_cast<LGap*>(instr);
|
| }
|
|
|
| @@ -1539,7 +1539,7 @@ class LReturn V8_FINAL : public LTemplateInstruction<0, 3, 0> {
|
| return parameter_count()->IsConstantOperand();
|
| }
|
| LConstantOperand* constant_parameter_count() {
|
| - ASSERT(has_constant_parameter_count());
|
| + DCHECK(has_constant_parameter_count());
|
| return LConstantOperand::cast(parameter_count());
|
| }
|
| LOperand* parameter_count() { return inputs_[2]; }
|
| @@ -1840,7 +1840,7 @@ class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> {
|
| Zone* zone)
|
| : descriptor_(descriptor),
|
| inputs_(descriptor->GetRegisterParameterCount() + 1, zone) {
|
| - ASSERT(descriptor->GetRegisterParameterCount() + 1 == operands.length());
|
| + DCHECK(descriptor->GetRegisterParameterCount() + 1 == operands.length());
|
| inputs_.AddAll(operands, zone);
|
| }
|
|
|
|
|