Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 73b23cb2fd4c6395a5c1fb21857b6d550af09ae8..ad00cd07638e41cc90a65769aa8187b3cee2793c 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -795,6 +795,7 @@ HControlInstruction* HGraphBuilder::IfBuilder::AddCompare( |
void HGraphBuilder::IfBuilder::Or() { |
+ ASSERT(!needs_compare_); |
ASSERT(!did_and_); |
did_or_ = true; |
HEnvironment* env = first_false_block_->last_environment(); |
@@ -810,6 +811,7 @@ void HGraphBuilder::IfBuilder::Or() { |
void HGraphBuilder::IfBuilder::And() { |
+ ASSERT(!needs_compare_); |
ASSERT(!did_or_); |
did_and_ = true; |
HEnvironment* env = first_false_block_->last_environment(); |