Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 90619c5941c6dc2ce557e495b6d301bf4670292a..a7a022d5ec45913baade8bb7b875ba8a56b1b159 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5379,7 +5379,7 @@ void HGraphBuilder::VisitNot(UnaryOperation* expr) { |
materialize_true)); |
if (materialize_false->HasPredecessor()) { |
- materialize_false->SetJoinId(expr->expression()->id()); |
+ materialize_false->SetJoinId(expr->MaterializeFalseId()); |
set_current_block(materialize_false); |
Push(graph()->GetConstantFalse()); |
} else { |
@@ -5387,7 +5387,7 @@ void HGraphBuilder::VisitNot(UnaryOperation* expr) { |
} |
if (materialize_true->HasPredecessor()) { |
- materialize_true->SetJoinId(expr->expression()->id()); |
+ materialize_true->SetJoinId(expr->MaterializeTrueId()); |
set_current_block(materialize_true); |
Push(graph()->GetConstantTrue()); |
} else { |