From 44381b84f32ad4bd606ac1d79675d3988013cd92 Mon Sep 17 00:00:00 2001 From: rwestrel Date: Fri, 29 Nov 2024 17:50:55 +0100 Subject: [PATCH] fix --- src/hotspot/share/opto/live.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/opto/live.cpp b/src/hotspot/share/opto/live.cpp index 7378f36df5020..7112d7aaaf0ee 100644 --- a/src/hotspot/share/opto/live.cpp +++ b/src/hotspot/share/opto/live.cpp @@ -277,7 +277,7 @@ void PhaseLive::add_liveout(Block_List& worklist, Block* p, IndexSet* lo, Vector // Add a vector of live-in values to a given blocks live-in set. void PhaseLive::add_livein(Block *p, IndexSet *lo) { IndexSet *livein = &_livein[p->_pre_order-1]; - if (!livein->is_empty()) { + if (!lo->is_empty()) { IndexSetIterator elements(lo); uint r; while ((r = elements.next()) != 0) {