Index: src/compiler/simplified-operator.h |
diff --git a/src/compiler/simplified-operator.h b/src/compiler/simplified-operator.h |
index 6410f2f66daa218dff0a480c0a5444009310bd35..28340e36689050ac90ce450d37c88cb94bc699b1 100644 |
--- a/src/compiler/simplified-operator.h |
+++ b/src/compiler/simplified-operator.h |
@@ -69,14 +69,14 @@ struct StaticParameterTraits<const ElementAccess> { |
inline const FieldAccess FieldAccessOf(Operator* op) { |
- ASSERT(op->opcode() == IrOpcode::kLoadField || |
+ DCHECK(op->opcode() == IrOpcode::kLoadField || |
op->opcode() == IrOpcode::kStoreField); |
return static_cast<Operator1<FieldAccess>*>(op)->parameter(); |
} |
inline const ElementAccess ElementAccessOf(Operator* op) { |
- ASSERT(op->opcode() == IrOpcode::kLoadElement || |
+ DCHECK(op->opcode() == IrOpcode::kLoadElement || |
op->opcode() == IrOpcode::kStoreElement); |
return static_cast<Operator1<ElementAccess>*>(op)->parameter(); |
} |