• oth's avatar
    [Interpreter] Preserve source positions in peephole optimizer. · e43fbde7
    oth authored
    The original peephole optimizer logic in the BytecodeArrayBuilder did
    not respect source positions as it was written before there were
    bytecode source positions. This led to some minor differences to
    FCG and was problematic when combined with pending bytecode
    optimizations. This change makes the new peephole optimizer fully
    respect source positions.
    
    BUG=v8:4280
    LOG=N
    
    Review-Url: https://codereview.chromium.org/1998203002
    Cr-Commit-Position: refs/heads/master@{#36439}
    e43fbde7
RegExpLiteralsWide.golden 29.8 KB