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

Side by Side Diff: runtime/vm/flow_graph_inliner.h

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_FLOW_GRAPH_INLINER_H_ 5 #ifndef VM_FLOW_GRAPH_INLINER_H_
6 #define VM_FLOW_GRAPH_INLINER_H_ 6 #define VM_FLOW_GRAPH_INLINER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 class FlowGraph; 12 class FlowGraph;
13 template <typename T> class GrowableArray;
13 14
14 class FlowGraphInliner : ValueObject { 15 class FlowGraphInliner : ValueObject {
15 public: 16 public:
16 explicit FlowGraphInliner(FlowGraph* flow_graph) 17 explicit FlowGraphInliner(FlowGraph* flow_graph)
17 : flow_graph_(flow_graph) { } 18 : flow_graph_(flow_graph) {}
18 19
19 // The flow graph is destructively updated upon inlining. 20 // The flow graph is destructively updated upon inlining.
20 void Inline(); 21 void Inline();
21 22
22 private: 23 private:
23 FlowGraph* flow_graph_; 24 FlowGraph* flow_graph_;
24 DISALLOW_COPY_AND_ASSIGN(FlowGraphInliner); 25 DISALLOW_COPY_AND_ASSIGN(FlowGraphInliner);
25 }; 26 };
26 27
27 } // namespace dart 28 } // namespace dart
28 29
29 #endif // VM_FLOW_GRAPH_INLINER_H_ 30 #endif // VM_FLOW_GRAPH_INLINER_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698