py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP.
POP_BLOCK and POP_EXCEPT are now the same, and are always followed by a JUMP. So this optimisation reduces code size, and RAM usage of bytecode by two bytes for each try-except handler.
This commit is contained in:
@@ -105,7 +105,7 @@ def make_opcode_format():
|
||||
OC4(O, O, U, U), # 0x38-0x3b
|
||||
OC4(U, O, B, O), # 0x3c-0x3f
|
||||
OC4(O, B, B, O), # 0x40-0x43
|
||||
OC4(B, B, O, B), # 0x44-0x47
|
||||
OC4(O, U, O, B), # 0x44-0x47
|
||||
OC4(U, U, U, U), # 0x48-0x4b
|
||||
OC4(U, U, U, U), # 0x4c-0x4f
|
||||
OC4(V, V, U, V), # 0x50-0x53
|
||||
|
||||
Reference in New Issue
Block a user