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

Unified Diff: runtime/vm/flow_graph.h

Issue 10919004: Revert "Inlining of static calls with trivial function bodies." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/compiler.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index 4f9a2d2bd1efde0bd91d2b708c39fce61903a9ab..3d7c51d12e2f90d7b0c58fd43ef695a2fe34d4cb 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -10,14 +10,11 @@
namespace dart {
-class BindInstr;
class BlockEntryInstr;
-class StaticCallComp;
class Definition;
class FlowGraphBuilder;
class GraphEntryInstr;
class PhiInstr;
-class ReturnInstr;
// Class to incapsulate the construction and manipulation of the flow graph.
class FlowGraph: public ZoneAllocated {
@@ -63,19 +60,12 @@ class FlowGraph: public ZoneAllocated {
return graph_entry_;
}
- ZoneGrowableArray<ReturnInstr*>* exits() const { return exits_; }
- void set_exits(ZoneGrowableArray<ReturnInstr*>* exits) { exits_ = exits; }
-
intptr_t alloc_ssa_temp_index() { return current_ssa_temp_index_++; }
// Operations on the flow graph.
- void ComputeSSA(intptr_t next_virtual_register_number = 0);
+ void ComputeSSA();
void ComputeUseLists();
- void InlineCall(BindInstr* caller_instr,
- StaticCallComp* caller_comp,
- FlowGraph* callee_graph);
-
// TODO(zerny): Once the SSA is feature complete this should be removed.
void Bailout(const char* reason) const;
@@ -131,7 +121,6 @@ class FlowGraph: public ZoneAllocated {
GrowableArray<BlockEntryInstr*> preorder_;
GrowableArray<BlockEntryInstr*> postorder_;
GrowableArray<BlockEntryInstr*> reverse_postorder_;
- ZoneGrowableArray<ReturnInstr*>* exits_;
};
} // namespace dart
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698