• bmeurer's avatar
    [turbofan] Optimize silent hole checks on legacy const context slots. · 35f6c0fd
    bmeurer authored
    Currently we always generate a diamond in the graph builder for every
    legacy const context slot, which we cannot get rid of until late control
    reduction, even if we know after context specialization that the slot is
    already initialized.
    
    Now we generate a select instead, which the CommonOperatorReducer
    happily removes during typed lowering. This greatly speeds up asm.js
    code generated by Emscripten with the new POINTER_MASKING mode.
    
    R=mstarzinger@chromium.org
    
    Review URL: https://codereview.chromium.org/1072353002
    
    Cr-Commit-Position: refs/heads/master@{#27739}
    35f6c0fd
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...