Index: src/compiler/escape-analysis-reducer.h |
diff --git a/src/compiler/escape-analysis-reducer.h b/src/compiler/escape-analysis-reducer.h |
index 5a825da8ded99a5498c6ac070dd3e9d3544e7806..ad6747929cc421017e2541694d37903bbb32aeb8 100644 |
--- a/src/compiler/escape-analysis-reducer.h |
+++ b/src/compiler/escape-analysis-reducer.h |
@@ -9,26 +9,22 @@ |
#include "src/compiler/escape-analysis.h" |
#include "src/compiler/graph-reducer.h" |
- |
namespace v8 { |
namespace internal { |
- |
-// Forward declarations. |
-class Counters; |
- |
- |
namespace compiler { |
// Forward declarations. |
class JSGraph; |
- |
class EscapeAnalysisReducer final : public AdvancedReducer { |
public: |
EscapeAnalysisReducer(Editor* editor, JSGraph* jsgraph, |
EscapeAnalysis* escape_analysis, Zone* zone); |
Reduction Reduce(Node* node) final; |
+ |
+ // Verifies that all virtual allocation nodes have been dealt with. Run it |
+ // after this reducer has been applied. Has no effect in release mode. |
void VerifyReplacement() const; |
private: |
@@ -47,12 +43,12 @@ class EscapeAnalysisReducer final : public AdvancedReducer { |
JSGraph* jsgraph() const { return jsgraph_; } |
EscapeAnalysis* escape_analysis() const { return escape_analysis_; } |
Zone* zone() const { return zone_; } |
- Counters* counters() const; |
+ Isolate* isolate() const; |
JSGraph* const jsgraph_; |
EscapeAnalysis* escape_analysis_; |
Zone* const zone_; |
- // _visited marks nodes we already processed (allocs, loads, stores) |
+ // This bit vector marks nodes we already processed (allocs, loads, stores) |
// and nodes that do not need a visit from ReduceDeoptState etc. |
BitVector fully_reduced_; |
bool exists_virtual_allocate_; |