Skip to content

Commit

Permalink
Fix optimize_deadcode2 which wrongly marks some BRPOP as dead (fixes …
Browse files Browse the repository at this point in the history
…the first comment in #16)
  • Loading branch information
puzzlet committed Mar 30, 2024
1 parent a8b5bdb commit a6c06d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aheui/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def min_list(l1, l2):
break
if op == c.OP_BRPOP1 or op == c.OP_BRPOP2:
reqsize = c.OP_REQSIZE[op]
if stacksize >= reqsize:
if min_stacksizes[selected] >= reqsize:
pc += 1
continue
else:
Expand Down

0 comments on commit a6c06d9

Please sign in to comment.