Merge branch '3_11-support-for-new-opcodes' of https://github.com/TiZCrocodile/pycdc

This commit is contained in:
Michael Hansen
2023-08-26 10:58:37 -07:00
12 changed files with 110 additions and 11 deletions

View File

@@ -152,7 +152,8 @@ bool Pyc::IsJumpOffsetArg(int opcode)
return (opcode == Pyc::JUMP_FORWARD_A) || (opcode == Pyc::JUMP_IF_FALSE_A) ||
(opcode == Pyc::JUMP_IF_TRUE_A) || (opcode == Pyc::SETUP_LOOP_A) ||
(opcode == Pyc::SETUP_FINALLY_A) || (opcode == Pyc::SETUP_EXCEPT_A) ||
(opcode == Pyc::FOR_LOOP_A) || (opcode == Pyc::FOR_ITER_A);
(opcode == Pyc::FOR_LOOP_A) || (opcode == Pyc::FOR_ITER_A) ||
(opcode == Pyc::POP_JUMP_FORWARD_IF_FALSE_A) || (opcode == Pyc::POP_JUMP_FORWARD_IF_TRUE_A);
}
bool Pyc::IsCompareArg(int opcode)