8310299: C2: 8275201 broke constant folding of array store check in some cases

Reviewed-by: thartmann, kvn
This commit is contained in:
Roland Westrelin 2023-06-29 07:41:04 +00:00
parent b2eae16c45
commit be64d3ac3c
3 changed files with 64 additions and 1 deletions

View file

@ -1193,6 +1193,11 @@ public class IRNode {
beforeMatchingNameRegex(SUB_V, "SubV(B|S|I|L|F|D)");
}
public static final String SUBTYPE_CHECK = PREFIX + "SUBTYPE_CHECK" + POSTFIX;
static {
beforeMatchingNameRegex(SUBTYPE_CHECK, "SubTypeCheck");
}
public static final String TRAP = PREFIX + "TRAP" + POSTFIX;
static {
trapNodes(TRAP,"reason");