Update bytecode.cpp
Co-authored-by: Michael Hansen <zrax0111@gmail.com>
This commit is contained in:
@@ -391,7 +391,7 @@ void bc_disasm(std::ostream& pyc_output, PycRef<PycCode> code, PycModule* mod,
|
||||
case Pyc::LOAD_FROM_DICT_OR_GLOBALS_A:
|
||||
try {
|
||||
auto arg = operand;
|
||||
if (opcode == Pyc::LOAD_ATTR_A && mod->verCompare(3, 12) >= 0 && (arg & 1))
|
||||
if (opcode == Pyc::LOAD_ATTR_A && mod->verCompare(3, 12) >= 0)
|
||||
arg >>= 1;
|
||||
formatted_print(pyc_output, "%d: %s", operand, code->getName(arg)->value());
|
||||
} catch (const std::out_of_range &) {
|
||||
|
Reference in New Issue
Block a user