Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index f53feb954a49c53016d0eece13f3425b117b1619..c0389f02f540650449e1ad88dd34b571d047171d 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -617,6 +617,26 @@ class Compiler : public AllStatic { |
}; |
+class CompilationPhase BASE_EMBEDDED { |
+ public: |
+ CompilationPhase(const char* name, Isolate* isolate, Zone* zone); |
+ ~CompilationPhase(); |
+ |
+ protected: |
+ bool ShouldProduceTraceOutput() const; |
+ |
+ const char* name() const { return name_; } |
+ Isolate* isolate() const { return isolate_; } |
+ |
+ private: |
+ const char* name_; |
+ Isolate* isolate_; |
+ Zone* zone_; |
danno
2013/06/24 12:21:22
Why is there no ZoneScope in here? I don't see the
Benedikt Meurer
2013/06/24 13:04:08
Done.
|
+ unsigned start_allocation_size_; |
+ int64_t start_ticks_; |
+}; |
+ |
+ |
} } // namespace v8::internal |
#endif // V8_COMPILER_H_ |