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

Unified Diff: runtime/vm/flow_graph_inliner.h

Issue 14872002: Improve load forwarding: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address Srdjan's comments Created 7 years, 8 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/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_inliner.h
diff --git a/runtime/vm/flow_graph_inliner.h b/runtime/vm/flow_graph_inliner.h
index fd8c51851f2a8e98236854a1ecf40dcdfb889a41..57318e3ecf132fe0a795aa49ebc7eec186dbd459 100644
--- a/runtime/vm/flow_graph_inliner.h
+++ b/runtime/vm/flow_graph_inliner.h
@@ -15,7 +15,8 @@ template <typename T> class GrowableArray;
class FlowGraphInliner : ValueObject {
public:
- FlowGraphInliner(FlowGraph* flow_graph, GrowableArray<Field*>* guarded_fields)
+ FlowGraphInliner(FlowGraph* flow_graph,
+ GrowableArray<const Field*>* guarded_fields)
: flow_graph_(flow_graph), guarded_fields_(guarded_fields) {}
// The flow graph is destructively updated upon inlining.
@@ -25,7 +26,7 @@ class FlowGraphInliner : ValueObject {
private:
FlowGraph* flow_graph_;
- GrowableArray<Field*>* guarded_fields_;
+ GrowableArray<const Field*>* guarded_fields_;
DISALLOW_COPY_AND_ASSIGN(FlowGraphInliner);
};
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698