Index: src/ast.cc |
=================================================================== |
--- src/ast.cc (revision 4592) |
+++ src/ast.cc (working copy) |
@@ -32,6 +32,8 @@ |
#include "parser.h" |
#include "scopes.h" |
#include "string-stream.h" |
+#include "ast-inl.h" |
+#include "jump-target-inl.h" |
namespace v8 { |
namespace internal { |
@@ -786,6 +788,13 @@ |
} |
+WhileStatement::WhileStatement(ZoneStringList* labels) |
+ : IterationStatement(labels), |
+ cond_(NULL), |
+ may_have_function_literal_(true) { |
+} |
+ |
+ |
ExpressionStatement::ExpressionStatement(ExpressionStatement* other, |
Expression* expression) |
: Statement(other), expression_(expression) {} |
@@ -809,6 +818,11 @@ |
: BreakableStatement(other), body_(body) {} |
+CaseClause::CaseClause(Expression* label, ZoneList<Statement*>* statements) |
+ : label_(label), statements_(statements) { |
+} |
+ |
+ |
ForStatement::ForStatement(ForStatement* other, |
Statement* init, |
Expression* cond, |