Skip to content

Commit cc628a1

Browse files
committed
8345287: C2: live in computation is broken
Reviewed-by: kvn, dlong, rcastanedalo
1 parent 480b508 commit cc628a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/opto/live.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ void PhaseLive::add_liveout(Block_List& worklist, Block* p, IndexSet* lo, Vector
277277
// Add a vector of live-in values to a given blocks live-in set.
278278
void PhaseLive::add_livein(Block *p, IndexSet *lo) {
279279
IndexSet *livein = &_livein[p->_pre_order-1];
280-
if (!livein->is_empty()) {
280+
if (!lo->is_empty()) {
281281
IndexSetIterator elements(lo);
282282
uint r;
283283
while ((r = elements.next()) != 0) {

0 commit comments

Comments
 (0)