src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/IfNode.java
equal
deleted
inserted
replaced
766 * the path |
766 * the path |
767 */ |
767 */ |
768 removeThroughFalseBranch(tool, merge); |
768 removeThroughFalseBranch(tool, merge); |
769 return true; |
769 return true; |
770 } else if (distinct == 1) { |
770 } else if (distinct == 1) { |
|
771 // Fortify: Suppress Null Dereference false positive |
|
772 assert singlePhi != null; |
|
773 |
771 ValueNode trueValue = singlePhi.valueAt(trueEnd); |
774 ValueNode trueValue = singlePhi.valueAt(trueEnd); |
772 ValueNode falseValue = singlePhi.valueAt(falseEnd); |
775 ValueNode falseValue = singlePhi.valueAt(falseEnd); |
773 ValueNode conditional = canonicalizeConditionalCascade(tool, trueValue, falseValue); |
776 ValueNode conditional = canonicalizeConditionalCascade(tool, trueValue, falseValue); |
774 if (conditional != null) { |
777 if (conditional != null) { |
775 conditional = proxyReplacement(conditional); |
778 conditional = proxyReplacement(conditional); |