@@ -1747,7 +1747,7 @@ def _prepare_test_cases():
17471747 Instruction (opname = 'LOAD_DEREF' , opcode = 80 , arg = 0 , argval = 'a' , argrepr = 'a' , offset = 34 , start_offset = 34 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
17481748 Instruction (opname = 'LOAD_DEREF' , opcode = 80 , arg = 1 , argval = 'b' , argrepr = 'b' , offset = 36 , start_offset = 36 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
17491749 Instruction (opname = 'LOAD_CONST' , opcode = 79 , arg = 2 , argval = '' , argrepr = "''" , offset = 38 , start_offset = 38 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
1750- Instruction (opname = 'LOAD_SMALL_INT' , opcode = 88 , arg = 1 , argval = 1 , argrepr = '1' , offset = 40 , start_offset = 40 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
1750+ Instruction (opname = 'LOAD_SMALL_INT' , opcode = 89 , arg = 1 , argval = 1 , argrepr = '1' , offset = 40 , start_offset = 40 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
17511751 Instruction (opname = 'BUILD_LIST' , opcode = 43 , arg = 0 , argval = 0 , argrepr = '' , offset = 42 , start_offset = 42 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
17521752 Instruction (opname = 'BUILD_MAP' , opcode = 44 , arg = 0 , argval = 0 , argrepr = '' , offset = 44 , start_offset = 44 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
17531753 Instruction (opname = 'LOAD_CONST' , opcode = 79 , arg = 3 , argval = 'Hello world!' , argrepr = "'Hello world!'" , offset = 46 , start_offset = 46 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
@@ -1802,7 +1802,7 @@ def _prepare_test_cases():
18021802expected_opinfo_jumpy = [
18031803 Instruction (opname = 'RESUME' , opcode = 149 , arg = 0 , argval = 0 , argrepr = '' , offset = 0 , start_offset = 0 , starts_line = True , line_number = 1 , label = None , positions = None , cache_info = None ),
18041804 Instruction (opname = 'LOAD_GLOBAL' , opcode = 87 , arg = 1 , argval = 'range' , argrepr = 'range + NULL' , offset = 2 , start_offset = 2 , starts_line = True , line_number = 3 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' ), ('index' , 1 , b'\x00 \x00 ' ), ('module_keys_version' , 1 , b'\x00 \x00 ' ), ('builtin_keys_version' , 1 , b'\x00 \x00 ' )]),
1805- Instruction (opname = 'LOAD_SMALL_INT' , opcode = 88 , arg = 10 , argval = 10 , argrepr = '10' , offset = 12 , start_offset = 12 , starts_line = False , line_number = 3 , label = None , positions = None , cache_info = None ),
1805+ Instruction (opname = 'LOAD_SMALL_INT' , opcode = 89 , arg = 10 , argval = 10 , argrepr = '10' , offset = 12 , start_offset = 12 , starts_line = False , line_number = 3 , label = None , positions = None , cache_info = None ),
18061806 Instruction (opname = 'CALL' , opcode = 49 , arg = 1 , argval = 1 , argrepr = '' , offset = 14 , start_offset = 14 , starts_line = False , line_number = 3 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' ), ('func_version' , 2 , b'\x00 \x00 \x00 \x00 ' )]),
18071807 Instruction (opname = 'GET_ITER' , opcode = 16 , arg = None , argval = None , argrepr = '' , offset = 22 , start_offset = 22 , starts_line = False , line_number = 3 , label = None , positions = None , cache_info = None ),
18081808 Instruction (opname = 'FOR_ITER' , opcode = 67 , arg = 30 , argval = 88 , argrepr = 'to L4' , offset = 24 , start_offset = 24 , starts_line = False , line_number = 3 , label = 1 , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
@@ -1812,12 +1812,12 @@ def _prepare_test_cases():
18121812 Instruction (opname = 'CALL' , opcode = 49 , arg = 1 , argval = 1 , argrepr = '' , offset = 42 , start_offset = 42 , starts_line = False , line_number = 4 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' ), ('func_version' , 2 , b'\x00 \x00 \x00 \x00 ' )]),
18131813 Instruction (opname = 'POP_TOP' , opcode = 29 , arg = None , argval = None , argrepr = '' , offset = 50 , start_offset = 50 , starts_line = False , line_number = 4 , label = None , positions = None , cache_info = None ),
18141814 Instruction (opname = 'LOAD_FAST' , opcode = 81 , arg = 0 , argval = 'i' , argrepr = 'i' , offset = 52 , start_offset = 52 , starts_line = True , line_number = 5 , label = None , positions = None , cache_info = None ),
1815- Instruction (opname = 'LOAD_SMALL_INT' , opcode = 88 , arg = 4 , argval = 4 , argrepr = '4' , offset = 54 , start_offset = 54 , starts_line = False , line_number = 5 , label = None , positions = None , cache_info = None ),
1815+ Instruction (opname = 'LOAD_SMALL_INT' , opcode = 89 , arg = 4 , argval = 4 , argrepr = '4' , offset = 54 , start_offset = 54 , starts_line = False , line_number = 5 , label = None , positions = None , cache_info = None ),
18161816 Instruction (opname = 'COMPARE_OP' , opcode = 54 , arg = 18 , argval = '<' , argrepr = 'bool(<)' , offset = 56 , start_offset = 56 , starts_line = False , line_number = 5 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18171817 Instruction (opname = 'POP_JUMP_IF_FALSE' , opcode = 95 , arg = 2 , argval = 68 , argrepr = 'to L2' , offset = 60 , start_offset = 60 , starts_line = False , line_number = 5 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18181818 Instruction (opname = 'JUMP_BACKWARD' , opcode = 72 , arg = 22 , argval = 24 , argrepr = 'to L1' , offset = 64 , start_offset = 64 , starts_line = True , line_number = 6 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18191819 Instruction (opname = 'LOAD_FAST' , opcode = 81 , arg = 0 , argval = 'i' , argrepr = 'i' , offset = 68 , start_offset = 68 , starts_line = True , line_number = 7 , label = 2 , positions = None , cache_info = None ),
1820- Instruction (opname = 'LOAD_SMALL_INT' , opcode = 88 , arg = 6 , argval = 6 , argrepr = '6' , offset = 70 , start_offset = 70 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
1820+ Instruction (opname = 'LOAD_SMALL_INT' , opcode = 89 , arg = 6 , argval = 6 , argrepr = '6' , offset = 70 , start_offset = 70 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = None ),
18211821 Instruction (opname = 'COMPARE_OP' , opcode = 54 , arg = 148 , argval = '>' , argrepr = 'bool(>)' , offset = 72 , start_offset = 72 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18221822 Instruction (opname = 'POP_JUMP_IF_TRUE' , opcode = 98 , arg = 2 , argval = 84 , argrepr = 'to L3' , offset = 76 , start_offset = 76 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18231823 Instruction (opname = 'JUMP_BACKWARD' , opcode = 72 , arg = 30 , argval = 24 , argrepr = 'to L1' , offset = 80 , start_offset = 80 , starts_line = False , line_number = 7 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
@@ -1837,16 +1837,16 @@ def _prepare_test_cases():
18371837 Instruction (opname = 'CALL' , opcode = 49 , arg = 1 , argval = 1 , argrepr = '' , offset = 140 , start_offset = 140 , starts_line = False , line_number = 12 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' ), ('func_version' , 2 , b'\x00 \x00 \x00 \x00 ' )]),
18381838 Instruction (opname = 'POP_TOP' , opcode = 29 , arg = None , argval = None , argrepr = '' , offset = 148 , start_offset = 148 , starts_line = False , line_number = 12 , label = None , positions = None , cache_info = None ),
18391839 Instruction (opname = 'LOAD_FAST' , opcode = 81 , arg = 0 , argval = 'i' , argrepr = 'i' , offset = 150 , start_offset = 150 , starts_line = True , line_number = 13 , label = None , positions = None , cache_info = None ),
1840- Instruction (opname = 'LOAD_SMALL_INT' , opcode = 88 , arg = 1 , argval = 1 , argrepr = '1' , offset = 152 , start_offset = 152 , starts_line = False , line_number = 13 , label = None , positions = None , cache_info = None ),
1840+ Instruction (opname = 'LOAD_SMALL_INT' , opcode = 89 , arg = 1 , argval = 1 , argrepr = '1' , offset = 152 , start_offset = 152 , starts_line = False , line_number = 13 , label = None , positions = None , cache_info = None ),
18411841 Instruction (opname = 'BINARY_OP' , opcode = 42 , arg = 23 , argval = 23 , argrepr = '-=' , offset = 154 , start_offset = 154 , starts_line = False , line_number = 13 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18421842 Instruction (opname = 'STORE_FAST' , opcode = 107 , arg = 0 , argval = 'i' , argrepr = 'i' , offset = 158 , start_offset = 158 , starts_line = False , line_number = 13 , label = None , positions = None , cache_info = None ),
18431843 Instruction (opname = 'LOAD_FAST' , opcode = 81 , arg = 0 , argval = 'i' , argrepr = 'i' , offset = 160 , start_offset = 160 , starts_line = True , line_number = 14 , label = None , positions = None , cache_info = None ),
1844- Instruction (opname = 'LOAD_SMALL_INT' , opcode = 88 , arg = 6 , argval = 6 , argrepr = '6' , offset = 162 , start_offset = 162 , starts_line = False , line_number = 14 , label = None , positions = None , cache_info = None ),
1844+ Instruction (opname = 'LOAD_SMALL_INT' , opcode = 89 , arg = 6 , argval = 6 , argrepr = '6' , offset = 162 , start_offset = 162 , starts_line = False , line_number = 14 , label = None , positions = None , cache_info = None ),
18451845 Instruction (opname = 'COMPARE_OP' , opcode = 54 , arg = 148 , argval = '>' , argrepr = 'bool(>)' , offset = 164 , start_offset = 164 , starts_line = False , line_number = 14 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18461846 Instruction (opname = 'POP_JUMP_IF_FALSE' , opcode = 95 , arg = 2 , argval = 176 , argrepr = 'to L6' , offset = 168 , start_offset = 168 , starts_line = False , line_number = 14 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18471847 Instruction (opname = 'JUMP_BACKWARD' , opcode = 72 , arg = 31 , argval = 114 , argrepr = 'to L5' , offset = 172 , start_offset = 172 , starts_line = True , line_number = 15 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18481848 Instruction (opname = 'LOAD_FAST' , opcode = 81 , arg = 0 , argval = 'i' , argrepr = 'i' , offset = 176 , start_offset = 176 , starts_line = True , line_number = 16 , label = 6 , positions = None , cache_info = None ),
1849- Instruction (opname = 'LOAD_SMALL_INT' , opcode = 88 , arg = 4 , argval = 4 , argrepr = '4' , offset = 178 , start_offset = 178 , starts_line = False , line_number = 16 , label = None , positions = None , cache_info = None ),
1849+ Instruction (opname = 'LOAD_SMALL_INT' , opcode = 89 , arg = 4 , argval = 4 , argrepr = '4' , offset = 178 , start_offset = 178 , starts_line = False , line_number = 16 , label = None , positions = None , cache_info = None ),
18501850 Instruction (opname = 'COMPARE_OP' , opcode = 54 , arg = 18 , argval = '<' , argrepr = 'bool(<)' , offset = 180 , start_offset = 180 , starts_line = False , line_number = 16 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18511851 Instruction (opname = 'POP_JUMP_IF_TRUE' , opcode = 98 , arg = 2 , argval = 192 , argrepr = 'to L7' , offset = 184 , start_offset = 184 , starts_line = False , line_number = 16 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18521852 Instruction (opname = 'JUMP_BACKWARD' , opcode = 72 , arg = 39 , argval = 114 , argrepr = 'to L5' , offset = 188 , start_offset = 188 , starts_line = False , line_number = 16 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
@@ -1856,8 +1856,8 @@ def _prepare_test_cases():
18561856 Instruction (opname = 'CALL' , opcode = 49 , arg = 1 , argval = 1 , argrepr = '' , offset = 206 , start_offset = 206 , starts_line = False , line_number = 19 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' ), ('func_version' , 2 , b'\x00 \x00 \x00 \x00 ' )]),
18571857 Instruction (opname = 'POP_TOP' , opcode = 29 , arg = None , argval = None , argrepr = '' , offset = 214 , start_offset = 214 , starts_line = False , line_number = 19 , label = None , positions = None , cache_info = None ),
18581858 Instruction (opname = 'NOP' , opcode = 27 , arg = None , argval = None , argrepr = '' , offset = 216 , start_offset = 216 , starts_line = True , line_number = 20 , label = 9 , positions = None , cache_info = None ),
1859- Instruction (opname = 'LOAD_SMALL_INT' , opcode = 88 , arg = 1 , argval = 1 , argrepr = '1' , offset = 218 , start_offset = 218 , starts_line = True , line_number = 21 , label = None , positions = None , cache_info = None ),
1860- Instruction (opname = 'LOAD_SMALL_INT' , opcode = 88 , arg = 0 , argval = 0 , argrepr = '0' , offset = 220 , start_offset = 220 , starts_line = False , line_number = 21 , label = None , positions = None , cache_info = None ),
1859+ Instruction (opname = 'LOAD_SMALL_INT' , opcode = 89 , arg = 1 , argval = 1 , argrepr = '1' , offset = 218 , start_offset = 218 , starts_line = True , line_number = 21 , label = None , positions = None , cache_info = None ),
1860+ Instruction (opname = 'LOAD_SMALL_INT' , opcode = 89 , arg = 0 , argval = 0 , argrepr = '0' , offset = 220 , start_offset = 220 , starts_line = False , line_number = 21 , label = None , positions = None , cache_info = None ),
18611861 Instruction (opname = 'BINARY_OP' , opcode = 42 , arg = 11 , argval = 11 , argrepr = '/' , offset = 222 , start_offset = 222 , starts_line = False , line_number = 21 , label = None , positions = None , cache_info = [('counter' , 1 , b'\x00 \x00 ' )]),
18621862 Instruction (opname = 'POP_TOP' , opcode = 29 , arg = None , argval = None , argrepr = '' , offset = 226 , start_offset = 226 , starts_line = False , line_number = 21 , label = None , positions = None , cache_info = None ),
18631863 Instruction (opname = 'LOAD_FAST' , opcode = 81 , arg = 0 , argval = 'i' , argrepr = 'i' , offset = 228 , start_offset = 228 , starts_line = True , line_number = 25 , label = None , positions = None , cache_info = None ),
0 commit comments