• bmeurer's avatar
    [turbofan] Optimize certain chains of Branch into a Switch. · acd9c46c
    bmeurer authored
    This adds a new ControlFlowOptimizer that - for now - recognizes chains
    of Branches generated by the SwitchBuilder for a subset of javascript
    switches into Switch nodes. Those Switch nodes are then lowered to
    either table or lookup switches.
    
    Also rename Case to IfValue (and introduce IfDefault) for consistency.
    
    BUG=v8:3872
    LOG=n
    
    Review URL: https://codereview.chromium.org/931623002
    
    Cr-Commit-Position: refs/heads/master@{#26691}
    acd9c46c
Name
Last commit
Last update
..
base Loading commit data...
compiler Loading commit data...
heap Loading commit data...
libplatform Loading commit data...
DEPS Loading commit data...
char-predicates-unittest.cc Loading commit data...
run-all-unittests.cc Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
unittests.gyp Loading commit data...
unittests.status Loading commit data...