Skip to content

Commit dd43ab9

Browse files
author
rocky
committed
Fix graal3.10 and test
1 parent f89e102 commit dd43ab9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ check: check-short check-roundtrip
2727
--bytecode-2.7pypy --bytecode-3.2pypy \
2828
--bytecode-pypy35 --bytecode-pypy36 --bytecode-pypy37 \
2929
--bytecode-pypy38 --bytecode-pypy39 --bytecode-pypy310 \
30-
--bytecode-graal311 --bytecode-graal312 $(COMPILE)
30+
--bytecode-graal310 --bytecode-graal311 --bytecode-graal312 $(COMPILE)
3131

3232
check-roundtrip:
3333
./test_pyc_roundtrip.py --quiet \

test/test_pythonlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def get_srcdir():
148148
test_options[key] = (os.path.join(src_dir, bytecode), PYOC, bytecode, vers_dot)
149149

150150
for vers, vers_dot in (
151-
(311, 3.11),
151+
(310, 3.10), (311, 3.11),
152152
):
153153
bytecode = f"bytecode_graal{vers}"
154154
key = f"bytecode-graal{vers}"

xdis/opcodes/opcode_310graal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@
461461
# Pushed: unpacked items, the count is determined by the immediate operand
462462
#
463463
def_op_graal(
464-
loc, "UNPACK_SEQUENCE", 0x47, 1, 1, VARYING_STACK_INT
464+
loc, "UNPACK_SEQUENCE", 0x47, 1, VARYING_STACK_INT, 1
465465
) # , (oparg, followingArgs, withJump) -> oparg)
466466

467467
# Unpacks an iterable into multiple stack items with a star item that gets the rest. The first

0 commit comments

Comments
 (0)