Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index a95424a1c9e455ffa4a9664770844aee75b28b7d..8768f872386a7274f36e4476fc7e52abe4bd6688 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -277,17 +277,15 @@ class HGraph: public ZoneObject { |
void GlobalValueNumbering(); |
bool ProcessArgumentsObject(); |
void EliminateRedundantPhis(); |
- void EliminateUnreachablePhis(); |
void Canonicalize(); |
void OrderBlocks(); |
void AssignDominators(); |
void SetupInformativeDefinitions(); |
void EliminateRedundantBoundsChecks(); |
void DehoistSimpleArrayIndexComputations(); |
- void DeadCodeElimination(); |
void RestoreActualValues(); |
+ void DeadCodeElimination(const char *phase_name); |
void PropagateDeoptimizingMark(); |
- void EliminateUnusedInstructions(); |
// Returns false if there are phi-uses of the arguments-object |
// which are not supported by the optimizing compiler. |
@@ -402,6 +400,9 @@ class HGraph: public ZoneObject { |
HConstant* GetConstantSmi(SetOncePointer<HConstant>* pointer, |
int32_t integer_value); |
+ void MarkLive(HValue* ref, HValue* instr, ZoneList<HValue*>* worklist); |
+ void MarkLiveInstructions(); |
+ void RemoveDeadInstructions(); |
void MarkAsDeoptimizingRecursively(HBasicBlock* block); |
void NullifyUnreachableInstructions(); |
void InsertTypeConversions(HInstruction* instr); |