Index: src/hydrogen-osr.cc |
diff --git a/src/hydrogen-osr.cc b/src/hydrogen-osr.cc |
index 6c3d6ae3e02be1c8dcf47611b16eb04845dc6957..73fa40a72cff1f58c0f320a749aa2ac42583dc7a 100644 |
--- a/src/hydrogen-osr.cc |
+++ b/src/hydrogen-osr.cc |
@@ -117,6 +117,7 @@ void HOsrBuilder::FinishOsrValues() { |
const ZoneList<HPhi*>* phis = osr_loop_entry_->phis(); |
for (int j = 0; j < phis->length(); j++) { |
HPhi* phi = phis->at(j); |
+ ASSERT(phi->HasMergedIndex()); |
osr_values_->at(phi->merged_index())->set_incoming_value(phi); |
} |
} |