diff --git a/src/compiler/branch-elimination.cc b/src/compiler/branch-elimination.cc index d2fce8a276..a127d54572 100644 --- a/src/compiler/branch-elimination.cc +++ b/src/compiler/branch-elimination.cc @@ -415,7 +415,9 @@ Reduction BranchElimination::UpdateConditions( Node* node, ControlPathConditions conditions) { // Only signal that the node has Changed if the condition information has // changed. - if (reduced_.Set(node, true) | node_conditions_.Set(node, conditions)) { + bool reduced_changed = reduced_.Set(node, true); + bool node_conditions_changed = node_conditions_.Set(node, conditions); + if (reduced_changed || node_conditions_changed) { return Changed(node); } return NoChange(); diff --git a/src/objects/feedback-vector.cc b/src/objects/feedback-vector.cc index bc562b29a7..38e87e4273 100644 --- a/src/objects/feedback-vector.cc +++ b/src/objects/feedback-vector.cc @@ -1446,7 +1446,7 @@ void FeedbackNexus::ResetTypeProfile() { FeedbackIterator::FeedbackIterator(const FeedbackNexus* nexus) : done_(false), index_(-1), state_(kOther) { DCHECK(IsLoadICKind(nexus->kind()) || - IsStoreICKind(nexus->kind()) | IsKeyedLoadICKind(nexus->kind()) || + IsStoreICKind(nexus->kind()) || IsKeyedLoadICKind(nexus->kind()) || IsKeyedStoreICKind(nexus->kind()) || IsStoreOwnICKind(nexus->kind()) || IsStoreDataPropertyInLiteralKind(nexus->kind()) || IsStoreInArrayLiteralICKind(nexus->kind()) ||