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

Unified Diff: runtime/vm/flow_graph.h

Issue 12212093: Convert some compiler passes to preserve valid def-use chains. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
Index: runtime/vm/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index 81edee2bc754875187924f45576c15b63bcf5bde..6ba7cb17071c0770a423a22a08e9c06f262fa272 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -6,17 +6,12 @@
#define VM_FLOW_GRAPH_H_
#include "vm/growable_array.h"
+#include "vm/intermediate_language.h"
#include "vm/parser.h"
namespace dart {
-class BlockEntryInstr;
-class ConstantInstr;
-class Definition;
class FlowGraphBuilder;
-class GraphEntryInstr;
-class PhiInstr;
-class ReturnInstr;
class ValueInliningContext;
class BlockIterator : public ValueObject {
@@ -117,6 +112,15 @@ class FlowGraph : public ZoneAllocated {
ConstantInstr* AddConstantToInitialDefinitions(const Object& object);
void AddToInitialDefinitions(Definition* defn);
+ void InsertBefore(Instruction* next,
+ Instruction* instr,
+ Environment* env,
+ Definition::UseKind use_kind);
+ void InsertAfter(Instruction* prev,
+ Instruction* instr,
+ Environment* env,
+ Definition::UseKind use_kind);
+
// Operations on the flow graph.
void ComputeSSA(intptr_t next_virtual_register_number,
GrowableArray<Definition*>* inlining_parameters);
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph.cc » ('j') | runtime/vm/flow_graph.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698