Description[interpreter] Ensure optimizations preserve source positions.
The optimization stages in the bytecode generation pipeline must
preserve source position information. Failure to preserve
source position information could result in single stepping
in the debugger misbehaving or mis-reporting in exception stack traces.
This change adds tests intended to check optimizations do not damage
source position info.
BUG=v8:4280
LOG=N
Committed: https://crrev.com/a9af61d002d856c4b703e34a8bf6a854ef9a016a
Cr-Commit-Position: refs/heads/master@{#36855}
Patch Set 1 #
Total comments: 34
Patch Set 2 : Incorporate comments on src. #Patch Set 3 : Incorporate most of comments on test/ #Patch Set 4 : Rebase. #Patch Set 5 : Add separate test bodies for each combination of flags. #Patch Set 6 : Nits. #
Total comments: 10
Patch Set 7 : Incorporate review comments. #
Total comments: 2
Patch Set 8 : Rebase #Depends on Patchset: Messages
Total messages: 24 (8 generated)
|