Skip to content

Commit 46ef0f6

Browse files
RadekCapjerboaa
authored andcommitted
8331863: DUIterator_Fast used before it is constructed
Reviewed-by: stuefe Backport-of: 20927ac8405b4adca463e4c691ea573abdac1c4f
1 parent c67732a commit 46ef0f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/opto/node.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,8 +1455,8 @@ Node* Node::last_out(DUIterator_Last& i) const {
14551455
class SimpleDUIterator : public StackObj {
14561456
private:
14571457
Node* node;
1458-
DUIterator_Fast i;
14591458
DUIterator_Fast imax;
1459+
DUIterator_Fast i;
14601460
public:
14611461
SimpleDUIterator(Node* n): node(n), i(n->fast_outs(imax)) {}
14621462
bool has_next() { return i < imax; }

0 commit comments

Comments
 (0)