Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index d332f4a3cbcf15c8de64e998896f25b06b31532a..59a99026865e4fde1ca33ef0ba57f67da423778f 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -65,8 +65,7 @@ VariableProxy::VariableProxy(Zone* zone, Variable* var, int position) |
name_(var->name()), |
var_(NULL), // Will be set by the call to BindTo. |
is_this_(var->is_this()), |
- is_trivial_(false), |
- is_lvalue_(false), |
+ is_assigned_(false), |
interface_(var->interface()) { |
BindTo(var); |
} |
@@ -81,8 +80,7 @@ VariableProxy::VariableProxy(Zone* zone, |
name_(name), |
var_(NULL), |
is_this_(is_this), |
- is_trivial_(false), |
- is_lvalue_(false), |
+ is_assigned_(false), |
interface_(interface) { |
// Names must be canonicalized for fast equality checks. |
ASSERT(name->IsInternalizedString()); |
@@ -100,7 +98,7 @@ void VariableProxy::BindTo(Variable* var) { |
// eval() etc. Const-ness and variable declarations are a complete mess |
// in JS. Sigh... |
var_ = var; |
- var->set_is_used(true); |
+ var->set_is_used(); |
} |