We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c41a283 commit 3da7e39Copy full SHA for 3da7e39
src/hotspot/share/opto/node.cpp
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -1216,6 +1216,9 @@ bool Node::has_special_unique_user() const {
1216
} else if (is_If() && (n->is_IfFalse() || n->is_IfTrue())) {
1217
// See IfProjNode::Identity()
1218
return true;
1219
+ } else if ((is_IfFalse() || is_IfTrue()) && n->is_If()) {
1220
+ // See IfNode::fold_compares
1221
+ return true;
1222
} else {
1223
return false;
1224
}
0 commit comments