mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
Fix display of cell vars
This commit is contained in:
parent
35e74d0e6e
commit
5ee15c890c
2 changed files with 5 additions and 5 deletions
|
|
@ -358,8 +358,7 @@ void bc_disasm(PycRef<PycCode> code, PycModule* mod, int indent)
|
|||
} else if (Pyc::IsVarNameArg(opcode)) {
|
||||
fprintf(pyc_output, "%d: %s", operand, code->getVarName(operand)->value());
|
||||
} else if (Pyc::IsCellArg(opcode)) {
|
||||
fprintf(pyc_output, "%d: ", operand);
|
||||
print_const(code->getCellVar(operand), mod);
|
||||
fprintf(pyc_output, "%d: %s", operand, code->getCellVar(operand)->value());
|
||||
} else if (Pyc::IsJumpOffsetArg(opcode)) {
|
||||
fprintf(pyc_output, "%d (to %d)", operand, pos+operand);
|
||||
} else if (Pyc::IsCompareArg(opcode)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue