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

Unified Diff: src/typing.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 | « src/runtime/runtime-internal.cc ('k') | src/typing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/typing.h
diff --git a/src/typing.h b/src/typing.h
index 2f67c3b2de6ca2359f6aafea3580cbef313751f9..93e78c776825b3215df8ce2095b6de015aabdc5a 100644
--- a/src/typing.h
+++ b/src/typing.h
@@ -34,6 +34,7 @@ class AstTyper: public AstVisitor {
typedef v8::internal::NestedEffects<int, kNoVar> Store;
Isolate* isolate_;
+ Zone* zone_;
Handle<JSFunction> closure_;
Scope* scope_;
BailoutId osr_ast_id_;
@@ -41,6 +42,7 @@ class AstTyper: public AstVisitor {
TypeFeedbackOracle oracle_;
Store store_;
+ Zone* zone() const { return zone_; }
TypeFeedbackOracle* oracle() { return &oracle_; }
void NarrowType(Expression* e, Bounds b) {
« no previous file with comments | « src/runtime/runtime-internal.cc ('k') | src/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698