From 28b62b6534213ee68270b3d8990f5833b488057e Mon Sep 17 00:00:00 2001 From: ncaklovic Date: Wed, 28 Feb 2024 12:34:15 +0100 Subject: [PATCH] Update bytecode.cpp Co-authored-by: Michael Hansen --- bytecode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bytecode.cpp b/bytecode.cpp index 20969a9..0d780fb 100644 --- a/bytecode.cpp +++ b/bytecode.cpp @@ -391,7 +391,7 @@ void bc_disasm(std::ostream& pyc_output, PycRef 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 &) {