mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8335110: Fix instruction name and API spec inconsistencies in CodeBuilder
Reviewed-by: asotona
This commit is contained in:
parent
8a664a4c35
commit
f7af4504a8
6 changed files with 120 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue