Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index ce2225635bfbf9741df57e1b1b24b1828e31a7d2..0e24bda0d0e514246fecf70c033d38aac6ec2296 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -174,7 +174,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); \ |
} |
@@ -334,7 +334,7 @@ class LGap : public LTemplateInstruction<0, 0, 0> { |
virtual bool IsGap() const 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); |
} |
@@ -1578,7 +1578,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]; } |
@@ -1879,7 +1879,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); |
} |