Message405991
I have a hunch that this is caused in optimize_basic_block. In general, we don't bother clearing the oparg when peepholing instructions into NOPs.
We could either start becoming more principled about that and fix all of the existing NOPs, or just update instrsize and write_op_arg to ignore args for instructions that don't use them.
The latter seems easier and less error-prone. |
|
Date |
User |
Action |
Args |
2021-11-09 00:02:46 | brandtbucher | set | recipients:
+ brandtbucher, Mark.Shannon, serhiy.storchaka, iritkatriel, rok.mandeljc |
2021-11-09 00:02:46 | brandtbucher | set | messageid: <1636416166.3.0.663236960445.issue45757@roundup.psfhosted.org> |
2021-11-09 00:02:46 | brandtbucher | link | issue45757 messages |
2021-11-09 00:02:46 | brandtbucher | create | |
|