Skip to content
  • Loren Merritt's avatar
    x86inc: activate REP_RET automatically · 4cf27285
    Loren Merritt authored
    Now RET checks whether it immediately follows a branch, so the programmer dosen't have to keep track of that condition.
    REP_RET is still needed manually when it's a branch target, but that's much rarer.
    The implementation involves lots of spurious labels, but that's ok because we strip them.
    4cf27285