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

Unified Diff: src/ast.h

Issue 1394303008: Remove unused Zone argument from InitializeAstVisitor (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix cctests 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 | « no previous file | src/ast-expression-visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index 906862d56d296f217e133527507e7c3102bafc1d..0c6d2138fd97aa143cd3eac94b81a5226b537b9a 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -3190,14 +3190,11 @@ class AstVisitor BASE_EMBEDDED {
} \
\
private: \
- void InitializeAstVisitor(Isolate* isolate, Zone* zone) { \
- zone_ = zone; \
+ void InitializeAstVisitor(Isolate* isolate) { \
stack_limit_ = isolate->stack_guard()->real_climit(); \
stack_overflow_ = false; \
} \
- Zone* zone() { return zone_; } \
\
- Zone* zone_; \
uintptr_t stack_limit_; \
bool stack_overflow_
« no previous file with comments | « no previous file | src/ast-expression-visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698