Index: src/compiler/graph-builder.cc |
diff --git a/src/compiler/graph-builder.cc b/src/compiler/graph-builder.cc |
index e58c7b6bd5162de30074986adf9228ee7816efcd..fe55196332b1f7a2d88062a3a162a8f0467c0a12 100644 |
--- a/src/compiler/graph-builder.cc |
+++ b/src/compiler/graph-builder.cc |
@@ -34,8 +34,8 @@ Node* StructuredGraphBuilder::MakeNode(Operator* op, int value_input_count, |
bool has_control = OperatorProperties::GetControlInputCount(op) == 1; |
bool has_effect = OperatorProperties::GetEffectInputCount(op) == 1; |
- ASSERT(OperatorProperties::GetControlInputCount(op) < 2); |
- ASSERT(OperatorProperties::GetEffectInputCount(op) < 2); |
+ DCHECK(OperatorProperties::GetControlInputCount(op) < 2); |
+ DCHECK(OperatorProperties::GetEffectInputCount(op) < 2); |
Node* result = NULL; |
if (!has_context && !has_control && !has_effect) { |
@@ -115,7 +115,7 @@ StructuredGraphBuilder::Environment::Environment(const Environment& copy) |
void StructuredGraphBuilder::Environment::Merge(Environment* other) { |
- ASSERT(values_.size() == other->values_.size()); |
+ DCHECK(values_.size() == other->values_.size()); |
// Nothing to do if the other environment is dead. |
if (other->IsMarkedAsUnreachable()) return; |