Index: src/data-flow.h |
=================================================================== |
--- src/data-flow.h (revision 3788) |
+++ src/data-flow.h (working copy) |
@@ -29,7 +29,7 @@ |
#define V8_DATAFLOW_H_ |
#include "ast.h" |
-#include "scopes.h" |
+#include "compiler.h" |
namespace v8 { |
namespace internal { |
@@ -38,13 +38,13 @@ |
// their evaluation order (post-order left-to-right traversal). |
class AstLabeler: public AstVisitor { |
public: |
- AstLabeler() : next_number_(0), has_this_properties_(false) {} |
+ AstLabeler() : next_number_(0) {} |
- void Label(FunctionLiteral* fun); |
+ void Label(CompilationInfo* info); |
- bool has_this_properties() { return has_this_properties_; } |
+ private: |
+ CompilationInfo* info() { return info_; } |
- private: |
void VisitDeclarations(ZoneList<Declaration*>* decls); |
void VisitStatements(ZoneList<Statement*>* stmts); |
@@ -56,7 +56,7 @@ |
// Traversal number for labelling AST nodes. |
int next_number_; |
- bool has_this_properties_; |
+ CompilationInfo* info_; |
DISALLOW_COPY_AND_ASSIGN(AstLabeler); |
}; |