Show jump target on FOR_ITER instructions

This commit is contained in:
Michael Hansen
2016-09-07 18:22:22 -07:00
parent 05a32e7bf5
commit 35e74d0e6e

View File

@@ -164,7 +164,7 @@ 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_LOOP_A) || (opcode == Pyc::FOR_ITER_A);
}
bool Pyc::IsCompareArg(int opcode)