Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Unified Diff: src/parsing/parser.cc

Issue 2158343002: Fix: Don't use Isolate during scope resolution. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: (streamlined the rebase) Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parsing/parser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.cc
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
index 6b4848dc4074cd46a9ffe00c635b2eb1fcffd2d6..24e86738f216573ad7e8e4e998dd11b713c7ecc8 100644
--- a/src/parsing/parser.cc
+++ b/src/parsing/parser.cc
@@ -232,9 +232,9 @@ FunctionLiteral* Parser::DefaultConstructor(const AstRawString* name,
bool is_duplicate;
bool is_rest = true;
bool is_optional = false;
- Variable* constructor_args =
- function_scope->DeclareParameter(constructor_args_name, TEMPORARY,
- is_optional, is_rest, &is_duplicate);
+ Variable* constructor_args = function_scope->DeclareParameter(
+ constructor_args_name, TEMPORARY, is_optional, is_rest, &is_duplicate,
+ ast_value_factory());
ZoneList<Expression*>* args =
new (zone()) ZoneList<Expression*>(2, zone());
« no previous file with comments | « src/parsing/parser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698