Description[turbofan] Optimize silent hole checks on legacy const context slots.
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
Committed: https://crrev.com/35f6c0fdbf7814428d9fdec65cb24c8d4ed17452
Cr-Commit-Position: refs/heads/master@{#27739}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comment. #
Messages
Total messages: 9 (1 generated)
|