Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: src/compiler.h

Issue 17572011: Split HPhase for Lithium and Hydrogen using common CompilationPhase base. (Closed) Base URL: git@github.com:v8/v8.git@master
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/compiler.cc » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698