mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8341199: Use ClassFile's new API loadConstant(int)
Reviewed-by: liach, redestad
This commit is contained in:
parent
860d49db22
commit
f1bf469b4e
4 changed files with 9 additions and 9 deletions
|
@ -659,7 +659,7 @@ public class SwitchBootstraps {
|
|||
MethodTypeDesc.of(ConstantDescs.CD_char));
|
||||
cb.labelBinding(compare);
|
||||
|
||||
cb.ldc(integerLabel);
|
||||
cb.loadConstant(integerLabel);
|
||||
cb.if_icmpne(next);
|
||||
} else if ((caseLabel instanceof Long ||
|
||||
caseLabel instanceof Float ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue