Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 6a49e5708de953eb5cb74e88906afe9526c18b79..908c3b77412009b901f8755f3ace40fc54435945 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1923,6 +1923,10 @@ class HStatistics: public Malloced { |
void Print(); |
void SaveTiming(const char* name, int64_t ticks, unsigned size); |
+ void IncrementFullCodeGen(int64_t full_code_gen) { |
+ full_code_gen_ += full_code_gen; |
+ } |
+ |
void IncrementSubtotals(int64_t create_graph, |
int64_t optimize_graph, |
int64_t generate_code) { |
@@ -1944,32 +1948,13 @@ class HStatistics: public Malloced { |
}; |
-class HPhase BASE_EMBEDDED { |
+class HPhase : public CompilationPhase { |
public: |
- static const char* const kFullCodeGen; |
- |
- HPhase(const char* name, Isolate* isolate, Zone* zone); |
HPhase(const char* name, HGraph* graph); |
- HPhase(const char* name, LChunk* chunk); |
- HPhase(const char* name, LAllocator* allocator); |
~HPhase(); |
private: |
- void Init(Isolate* isolate, |
- const char* name, |
- Zone* zone, |
- HGraph* graph, |
- LChunk* chunk, |
- LAllocator* allocator); |
- |
- Isolate* isolate_; |
- const char* name_; |
- Zone* zone_; |
HGraph* graph_; |
- LChunk* chunk_; |
- LAllocator* allocator_; |
- int64_t start_ticks_; |
- unsigned start_allocation_size_; |
}; |