8335110: Fix instruction name and API spec inconsistencies in CodeBuilder

Reviewed-by: asotona
This commit is contained in:
Chen Liang 2024-07-03 02:49:43 +00:00
parent 8a664a4c35
commit f7af4504a8
6 changed files with 120 additions and 16 deletions

View file

@ -422,7 +422,7 @@ public class SwitchBootstraps {
cb.pop();
cb.aload(SELECTOR_OBJ);
Label nonNullLabel = cb.newLabel();
cb.if_nonnull(nonNullLabel);
cb.ifnonnull(nonNullLabel);
cb.iconst_m1();
cb.ireturn();
cb.labelBinding(nonNullLabel);