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

Unified Diff: runtime/vm/redundancy_elimination.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 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
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/redundancy_elimination.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/redundancy_elimination.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698