Skip to content

Commit 166cc1e

Browse files
author
rocky
committed
Tweak graal 3.11 & 3.12 opcode numbers
1 parent 159e19a commit 166cc1e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

xdis/opcodes/opcode_311graal.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,14 +371,14 @@
371371
# Loads {@code double} from primitiveConstants array indexed by the immediate operand
372372
# (converted from long).
373373
#
374-
def_op_graal(loc, "LOAD_DOUBLE", 0x3A, 1, 0, 1)
375-
#
376-
# Loads {@code long} from primitiveConstants array indexed by the immediate operand.
377-
#
378-
def_op_graal(loc, "LOAD_LONG", 0x3B, 1, 0, 1)
374+
def_op_graal(loc, "LOAD_LONG", 0x3A, 1, 0, 1)
379375
# Creates a {@link PInt} from a {@link BigInteger} in constants array indexed by the immediate
380376
# operand.
381377
#
378+
def_op_graal(loc, "LOAD_DOUBLE", 0x3B, 1, 0, 1)
379+
#
380+
# Loads {@code long} from primitiveConstants array indexed by the immediate operand.
381+
#
382382
def_op_graal(loc, "LOAD_BIGINT", 0x3C, 1, 0, 1)
383383
#
384384
# Currently the same as {@link #LOAD_CONST}.

xdis/opcodes/opcode_312graal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375
# Creates a {@link PInt} from a {@link BigInteger} in constants array indexed by the immediate
376376
# operand.
377377
#
378-
def_op_graal(loc, "LOAD_BIGINT", 0x3C, 1, 0, 1)
378+
def_op_graal(loc, "LOAD_BIGINT", 0x3E, 1, 0, 1)
379379
#
380380
# Currently the same as {@link #LOAD_CONST}.
381381
#
@@ -410,7 +410,7 @@
410410
#
411411
# pushes: call result
412412
#
413-
call_op_graal(loc, "call_method_varargs", 65, 1, 1, 1)
413+
call_op_graal(loc, "call_method_varargs", 0x43, 1, 1, 1)
414414
#
415415
# calls method on an object using a number of stack args determined by the first immediate
416416
# operand.

0 commit comments

Comments
 (0)