diff --git a/src/hydrogen.cc b/src/hydrogen.cc index 7869d71687..e1cf70a025 100644 --- a/src/hydrogen.cc +++ b/src/hydrogen.cc @@ -2720,7 +2720,8 @@ void HGlobalValueNumberer::AnalyzeGraph() { map->Add(instr, zone()); } } - if (instr->CheckFlag(HValue::kTrackSideEffectDominators)) { + if (instr->IsLinked() && + instr->CheckFlag(HValue::kTrackSideEffectDominators)) { for (int i = 0; i < kNumberOfTrackedSideEffects; i++) { HValue* other = dominators->at(i); GVNFlag changes_flag = HValue::ChangesFlagFromInt(i);