Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 5d9d81e01f03de53dd6849c7358f3e7e6b29e570..d9e22c15aca9e9e7c239bd8d205fb2f921a60a7d 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -3438,6 +3438,7 @@ HGraph::HGraph(CompilationInfo* info) |
info_(info), |
zone_(info->zone()), |
is_recursive_(false), |
+ this_has_uses_(false), |
use_optimistic_licm_(false), |
depends_on_empty_array_proto_elements_(false), |
type_change_checksum_(0), |
@@ -5291,7 +5292,7 @@ HValue* HOptimizedGraphBuilder::BuildContextChainWalk(Variable* var) { |
void HOptimizedGraphBuilder::VisitVariableProxy(VariableProxy* expr) { |
if (expr->is_this()) { |
- current_info()->SetThisHasUses(true); |
+ graph()->MarkThisHasUses(); |
} |
DCHECK(!HasStackOverflow()); |