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

Unified Diff: src/hydrogen.h

Issue 10700115: Break Crankshaft into phases. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Clean up dependencies Created 8 years, 5 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/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index ac19db71fb6e7fb0f3b55edfbe93a9bffad8cabf..a1e0733123971cf11a2e0febc69e2217ae56b939 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -281,8 +281,6 @@ class HGraph: public ZoneObject {
void CollectPhis();
- Handle<Code> Compile();
-
void set_undefined_constant(HConstant* constant) {
undefined_constant_.set(constant);
}
@@ -313,6 +311,10 @@ class HGraph: public ZoneObject {
return NULL;
}
+ // Returns true if the optimization succeeded. If not returns false
+ // and sets *bailout_reason.
+ bool Optimize(const char** bailout_reason);
+
#ifdef DEBUG
void Verify(bool do_full_verify) const;
#endif

Powered by Google App Engine
This is Rietveld 408576698