Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 9ff1be73bc023fb10e8986d7bc43af8baf42b98b..f47dffd8d734f7cf25622c5ada623efc0e12965d 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -70,6 +70,16 @@ CountOperation* ExpressionStatement::StatementAsCountOperation() { |
} |
+VariableProxy::VariableProxy(Variable* var) |
+ : name_(var->name()), |
+ var_(NULL), // Will be set by the call to BindTo. |
+ is_this_(var->is_this()), |
+ inside_with_(false), |
+ is_trivial_(false) { |
+ BindTo(var); |
+} |
+ |
+ |
VariableProxy::VariableProxy(Handle<String> name, |
bool is_this, |
bool inside_with) |