Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 277448914d2379ff24b638ca516d9925920c116f..97c9a6a21b1ffe9a0fefc8428c9ea1954515294f 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -427,6 +427,9 @@ class HGraph: public ZoneObject { |
HConstant* GetConstant(SetOncePointer<HConstant>* pointer, |
int32_t integer_value); |
+ template<class Phase> |
+ void Run() { Phase phase(this); phase.Run(); } |
+ |
void MarkLive(HValue* ref, HValue* instr, ZoneList<HValue*>* worklist); |
void MarkLiveInstructions(); |
void RemoveDeadInstructions(); |