| Index: runtime/vm/flow_graph_inliner.h
|
| diff --git a/runtime/vm/flow_graph_inliner.h b/runtime/vm/flow_graph_inliner.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ba2d080f7aa4617f538c138ca78e77270489adaa
|
| --- /dev/null
|
| +++ b/runtime/vm/flow_graph_inliner.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +#ifndef VM_FLOW_GRAPH_INLINER_H_
|
| +#define VM_FLOW_GRAPH_INLINER_H_
|
| +
|
| +#include "vm/allocation.h"
|
| +
|
| +namespace dart {
|
| +
|
| +class FlowGraph;
|
| +
|
| +class FlowGraphInliner : ValueObject {
|
| + public:
|
| + explicit FlowGraphInliner(FlowGraph* flow_graph)
|
| + : flow_graph_(flow_graph) { }
|
| +
|
| + // The flow graph is destructively updated upon inlining.
|
| + void Inline();
|
| +
|
| + private:
|
| + FlowGraph* flow_graph_;
|
| + DISALLOW_COPY_AND_ASSIGN(FlowGraphInliner);
|
| +};
|
| +
|
| +} // namespace dart
|
| +
|
| +#endif // VM_FLOW_GRAPH_INLINER_H_
|
|
|