Skip to content

Code length calculation broken w.r.t. EXTENDED_ARG opcodes #21

@smontanaro

Description

@smontanaro

In the block level representation of the code, Instructions don't require EXTENDED_ARG opcodes. Calculating block and instruction length at that level doesn't take them into account. Inserting them into the instruction stream in the bytes method tosses a wrench into things. There are probably a couple ways to fix this. Just need to figure out which is best and implement.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions