DescriptionAdd support for calculating a scopes maximum nested context chain.
Adds Scope::MaxNestedContextChainLength() which calculates the maximum length
of the context chain for the given scope. This is used by the interpreter to
preallocate the approprate number of context registers when compiling the
function.
BUG=v8:4280
LOG=N
Committed: https://crrev.com/d820268c0ba9536f3289206e2d928aa7e9436037
Cr-Commit-Position: refs/heads/master@{#31309}
Patch Set 1 : #
Total comments: 10
Patch Set 2 : Rebase #
Dependent Patchsets: Messages
Total messages: 16 (5 generated)
|