Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 333080bc9883f308bf7137f2378148e3dfabca30..4782bc932410f13ada1e241b2b994ab4e68b73df 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.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); \ |
} |
@@ -338,7 +338,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); |
} |
@@ -1562,7 +1562,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]; } |
@@ -1881,7 +1881,7 @@ class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { |
const ZoneList<LOperand*>& operands, |
Zone* zone) |
: inputs_(descriptor->GetRegisterParameterCount() + 1, zone) { |
- ASSERT(descriptor->GetRegisterParameterCount() + 1 == operands.length()); |
+ DCHECK(descriptor->GetRegisterParameterCount() + 1 == operands.length()); |
inputs_.AddAll(operands, zone); |
} |