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

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

Issue 1417463004: Revert of [es6] Fix scoping for default parameters in arrow functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « src/ast.h ('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 d9a4fc823863d527fd6aaa8ba3f642e5eeb75774..80bfa221717d544ef7c8e11d4613ad80c953dc03 100644
--- a/src/ast-expression-visitor.h
+++ b/src/ast-expression-visitor.h
@@ -21,8 +21,7 @@
class AstExpressionVisitor : public AstVisitor {
public:
- AstExpressionVisitor(Isolate* isolate, Expression* root);
- AstExpressionVisitor(uintptr_t stack_limit, Expression* root);
+ AstExpressionVisitor(Isolate* isolate, FunctionLiteral* root);
void Run();
protected:
@@ -39,7 +38,7 @@
AST_NODE_LIST(DECLARE_VISIT)
#undef DECLARE_VISIT
- Expression* root_;
+ FunctionLiteral* root_;
int depth_;
DISALLOW_COPY_AND_ASSIGN(AstExpressionVisitor);
« no previous file with comments | « src/ast.h ('k') | src/ast-expression-visitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698