Description[turbofan] Add support for SOFT deopts and use that for property access.
Up until now we were unable to (re)optimize code when we hit
uninitialized (Keyed)Load/StoreICs in the code. We always put an IC
there (sharing the feedback vector with fullcodegen at least) and called
it a day. But we never deoptimized the code object when we gathered more
feedback. This doesn't work very well in practice, esp. with hot code
relying on this. So until we have a proper mechanism to express the need
to reoptimize after we gathered additional feedback from optimized code,
we follow the Crankshaft approach instead and install a SOFT deopt, so
we can not only learn but also utilize the new feedback.
R=mstarzinger@chromium.org
BUG=v8:4470
LOG=n
Committed: https://crrev.com/bda527b5ffd58b05ad6e6202c3d9b1632a20a4c8
Cr-Commit-Position: refs/heads/master@{#34178}
Patch Set 1 #Patch Set 2 : REBASE #Patch Set 3 : Simplification #
Messages
Total messages: 10 (4 generated)
|