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

Unified Diff: src/typing.h

Issue 1318823010: Eliminate use of CompilationInfo in several AstVisitor descendants. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: revised Created 5 years, 4 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/hydrogen.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 ccfb973437faa6f672ac1f1f0ffb29f895aa7516..8b3e97b67ca67141ab9283c580fd2982c6a973e8 100644
--- a/src/typing.h
+++ b/src/typing.h
@@ -19,7 +19,8 @@ namespace internal {
class AstTyper: public AstVisitor {
public:
- explicit AstTyper(CompilationInfo* info);
+ AstTyper(Isolate* isolate, Zone* zone, Handle<JSFunction> closure,
+ Scope* scope, BailoutId osr_ast_id, FunctionLiteral* root);
void Run();
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
@@ -32,7 +33,10 @@ class AstTyper: public AstVisitor {
typedef v8::internal::Effects<int, kNoVar> Effects;
typedef v8::internal::NestedEffects<int, kNoVar> Store;
- CompilationInfo* info_;
+ Handle<JSFunction> closure_;
+ Scope* scope_;
+ BailoutId osr_ast_id_;
+ FunctionLiteral* root_;
TypeFeedbackOracle oracle_;
Store store_;
« no previous file with comments | « src/hydrogen.cc ('k') | src/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698