DescriptionPut Scopes into temporary Zone
When parsing a eagerly-parsed-but-lazily-compiled function, we
used to put some of its AST nodes into a discardable Zone. This
CL puts the function Scope, its inner Scopes and the related AST
nodes (Declarations, VariableProxys) into the temporary Zone
too. This reduces peak memory usage and enables future work to
keep the temporary Zone around for later compilation.
BUG=
Committed: https://crrev.com/eaebdd858b466057ccc39894a172c9b66868e8f7
Cr-Commit-Position: refs/heads/master@{#38232}
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : . #Patch Set 4 : . #Patch Set 5 : adding tests and checks #Patch Set 6 : fix #Patch Set 7 : . #
Total comments: 10
Patch Set 8 : code review (adamk@) #Patch Set 9 : ditto #
Total comments: 5
Patch Set 10 : rebased #
Total comments: 6
Patch Set 11 : code review (titzer@, adamk@) #Patch Set 12 : rebased #
Messages
Total messages: 45 (30 generated)
|