Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 1dd33046009d54e482f39c74b23eb1bb14004aaf..8f7bf0884ba5a91fbbb8d749201fe3c6c49db3ce 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -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 |