Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 93cb6c09b99358f6a118f58e83442ef01f58e832..de229cb014ea36ad65f0f8d927646659a183d30e 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -59,6 +59,11 @@ bool Expression::IsUndefinedLiteral(Isolate* isolate) const { |
} |
+bool Expression::IsVariableProxyOrProperty() const { |
rossberg
2015/07/16 11:50:48
I have a slight preference for
IsValidReferenceEx
Michael Starzinger
2015/07/16 12:46:19
Done. Your slight preference is my command.
|
+ return IsVariableProxy() || IsProperty(); |
+} |
+ |
+ |
VariableProxy::VariableProxy(Zone* zone, Variable* var, int start_position, |
int end_position) |
: Expression(zone, start_position), |