diff options
Diffstat (limited to 'src/crankshaft/hydrogen-escape-analysis.cc')
-rw-r--r-- | src/crankshaft/hydrogen-escape-analysis.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/crankshaft/hydrogen-escape-analysis.cc b/src/crankshaft/hydrogen-escape-analysis.cc index ab3bff2e..91b4ff2b 100644 --- a/src/crankshaft/hydrogen-escape-analysis.cc +++ b/src/crankshaft/hydrogen-escape-analysis.cc @@ -3,6 +3,7 @@ // found in the LICENSE file. #include "src/crankshaft/hydrogen-escape-analysis.h" +#include "src/objects-inl.h" namespace v8 { namespace internal { @@ -142,7 +143,6 @@ HValue* HEscapeAnalysisPhase::NewMapCheckAndInsert(HCapturedObject* state, // necessary. HValue* HEscapeAnalysisPhase::NewLoadReplacement( HLoadNamedField* load, HValue* load_value) { - isolate()->counters()->crankshaft_escape_loads_replaced()->Increment(); HValue* replacement = load_value; Representation representation = load->representation(); if (representation.IsSmiOrInteger32() || representation.IsDouble()) { @@ -320,8 +320,6 @@ void HEscapeAnalysisPhase::Run() { for (int i = 0; i < max_fixpoint_iteration_count; i++) { CollectCapturedValues(); if (captured_.is_empty()) break; - isolate()->counters()->crankshaft_escape_allocs_replaced()->Increment( - captured_.length()); PerformScalarReplacement(); captured_.Rewind(0); } |