Index: src/preparser.h |
diff --git a/src/preparser.h b/src/preparser.h |
index c5058649c10aa1c65a5478a7357306b5cfd37100..aeef700bfe7593a8369b4c4b5f0350fa8dc5b707 100644 |
--- a/src/preparser.h |
+++ b/src/preparser.h |
@@ -2264,6 +2264,7 @@ |
break; |
} |
} |
+ scope_->RecordThisUsage(); |
result = this->ThisExpression(scope_, factory(), beg_pos); |
break; |
} |
@@ -3335,6 +3336,7 @@ |
Consume(Token::THIS); |
int pos = position(); |
function_state_->set_this_location(scanner()->location()); |
+ scope_->RecordThisUsage(); |
ExpressionT this_expr = this->ThisExpression(scope_, factory(), pos); |
ExpressionT left = this->EmptyExpression(); |