Description[turbofan] Cache for reusing parts of value vector nodes in frame states.
Instead of the current approach of storing flat vectors in frame states (and possibly reusing the last vector in AST graph builder), this change list builds a tree for the values and tries to reuse the nodes for different frame states. At the moment, we only use this for the local variable part of frame state, but nothing prevents us from using this for all parts.
This change provides two new classes: one for creating the tree (StateValuesCache) and one for iterating the trees (StateValuesAccess).
BUG=
Committed: https://crrev.com/cd67e97a7e002811c098b22bfffee44d5db73444
Cr-Commit-Position: refs/heads/master@{#27222}
Patch Set 1 #Patch Set 2 : Attempt to make Win64 happy #Patch Set 3 : Another attempt #
Total comments: 5
Patch Set 4 : Remove unused forward decl #Patch Set 5 : Embed StateValueCache in AstGraphBuilder #
Messages
Total messages: 13 (3 generated)
|