Commit 652e1e6d authored by verwaest's avatar verwaest Committed by Commit bot

Redirect Scope::NewTemporary over parser

BUG=v8:5209

Review-Url: https://codereview.chromium.org/2220363004
Cr-Commit-Position: refs/heads/master@{#38508}
parent 0904b84e
This diff is collapsed.
......@@ -776,6 +776,9 @@ class Parser : public ParserBase<ParserTraits> {
DeclarationScope* GetClosureScope() const {
return scope()->GetClosureScope();
}
Variable* NewTemporary(const AstRawString* name) {
return scope()->NewTemporary(name);
}
// Limit the allowed number of local variables in a function. The hard limit
// is that offsets computed by FullCodeGenerator::StackOperand and similar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment