| Index: runtime/vm/redundancy_elimination.h
|
| diff --git a/runtime/vm/redundancy_elimination.h b/runtime/vm/redundancy_elimination.h
|
| index d92ac49c0249755b205860ec3c79bedaeef47370..b30ef7a918b11772756089732d0e1d1c641d7db0 100644
|
| --- a/runtime/vm/redundancy_elimination.h
|
| +++ b/runtime/vm/redundancy_elimination.h
|
| @@ -5,8 +5,8 @@
|
| #ifndef RUNTIME_VM_REDUNDANCY_ELIMINATION_H_
|
| #define RUNTIME_VM_REDUNDANCY_ELIMINATION_H_
|
|
|
| -#include "vm/intermediate_language.h"
|
| #include "vm/flow_graph.h"
|
| +#include "vm/intermediate_language.h"
|
|
|
| namespace dart {
|
|
|
| @@ -79,7 +79,6 @@ class AllocationSinking : public ZoneAllocated {
|
| ExitsCollector exits_collector_;
|
| };
|
|
|
| -
|
| // A simple common subexpression elimination based
|
| // on the dominator tree.
|
| class DominatorBasedCSE : public AllStatic {
|
| @@ -94,19 +93,16 @@ class DominatorBasedCSE : public AllStatic {
|
| CSEInstructionMap* map);
|
| };
|
|
|
| -
|
| class DeadStoreElimination : public AllStatic {
|
| public:
|
| static void Optimize(FlowGraph* graph);
|
| };
|
|
|
| -
|
| class DeadCodeElimination : public AllStatic {
|
| public:
|
| static void EliminateDeadPhis(FlowGraph* graph);
|
| };
|
|
|
| -
|
| // Optimize spill stores inside try-blocks by identifying values that always
|
| // contain a single known constant at catch block entry.
|
| class TryCatchAnalyzer : public AllStatic {
|
| @@ -114,7 +110,6 @@ class TryCatchAnalyzer : public AllStatic {
|
| static void Optimize(FlowGraph* flow_graph);
|
| };
|
|
|
| -
|
| // Loop invariant code motion.
|
| class LICM : public ValueObject {
|
| public:
|
|
|