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

Unified Diff: src/ast-expression-visitor.h

Issue 1414283002: [es6] Fix scoping for default parameters in arrow functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 5 years, 2 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 | « BUILD.gn ('k') | src/ast-expression-visitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-expression-visitor.h
diff --git a/src/ast-expression-visitor.h b/src/ast-expression-visitor.h
index 80bfa221717d544ef7c8e11d4613ad80c953dc03..d9a4fc823863d527fd6aaa8ba3f642e5eeb75774 100644
--- a/src/ast-expression-visitor.h
+++ b/src/ast-expression-visitor.h
@@ -21,7 +21,8 @@ namespace internal {
class AstExpressionVisitor : public AstVisitor {
public:
- AstExpressionVisitor(Isolate* isolate, FunctionLiteral* root);
+ AstExpressionVisitor(Isolate* isolate, Expression* root);
+ AstExpressionVisitor(uintptr_t stack_limit, Expression* root);
void Run();
protected:
@@ -38,7 +39,7 @@ class AstExpressionVisitor : public AstVisitor {
AST_NODE_LIST(DECLARE_VISIT)
#undef DECLARE_VISIT
- FunctionLiteral* root_;
+ Expression* root_;
int depth_;
DISALLOW_COPY_AND_ASSIGN(AstExpressionVisitor);
« no previous file with comments | « BUILD.gn ('k') | src/ast-expression-visitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698