File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/nodes/util Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1474,11 +1474,11 @@ public static boolean assertIsConstant(ValueNode n) {
14741474 * successor statements.
14751475 *
14761476 * An example would be case statements of a Switch. The illustrative example below is for a
1477- * switch control split node.
1477+ * switch control split node. However, we perform the same transformation also for if nodes.
14781478 *
14791479 * <p>
1480- * This transformation is only applied to patterns where the same code is executed after each
1481- * case, such as the following example:
1480+ * This transformation is only applied to patterns where the same code prefix is executed after
1481+ * each case, such as the following example:
14821482 *
14831483 * <pre>
14841484 * public static int switchReducePattern(int a) {
You can’t perform that action at this time.
0 commit comments