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 |