• Jochen Eisinger's avatar
    Don't rewrite unreachable statements · 94ca3b68
    Jochen Eisinger authored
    I'd like to change the parser to not create those AST nodes in
    the first place. To get there, I'm skipping visiting of those nodes
    in the existing visitors.
    
    With this change, there is only one visitor in asm-to-wasm left that
    actually visits those nodes, and seemingly depends on it.
    
    R=adamk@chromium.org
    BUG=v8:6312
    
    Change-Id: I0837fdd97cf4c1baefa2d7fd76eddd90ad00b1df
    Reviewed-on: https://chromium-review.googlesource.com/493167Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Commit-Queue: Jochen Eisinger <jochen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45044}
    94ca3b68
ast-expression-rewriter.cc 10.8 KB