Skip to content

[x86 / Refactor] PostPeepholeOptAnd now uses aoc_ForceNewIteration instead of manually advancing p (and supporting code)

Summary

This merge request allows the pre-peephole, pass 2 and the post-peephole stages to respond correctly to the aoc_ForceNewIteration flag by advancing p by 1 instruction if the result is set to False (the flag is used if a change was made somewhere, but not on the current instruction p), and additionally removes the code in PostPeepholeOptAnd that advances p manually, instead replacing it with Include(OptsToCheck, aoc_ForceNewIteration);.

System

  • Processor architecture: i386, x86_64

What is the current bug behavior?

N/A

What is the behavior after applying this patch?

No new changes should occur yet. This is a refactor.

Merge request reports