| Index: runtime/vm/flow_graph_builder.h
|
| diff --git a/runtime/vm/flow_graph_builder.h b/runtime/vm/flow_graph_builder.h
|
| index 5c590e2427a998afbf5753883b7d79ac001beae5..e3d2acfee53ba72dab05955bce81e3705250bdc8 100644
|
| --- a/runtime/vm/flow_graph_builder.h
|
| +++ b/runtime/vm/flow_graph_builder.h
|
| @@ -100,12 +100,10 @@ class InlineExitCollector: public ZoneAllocated {
|
| // Build a flow graph from a parsed function's AST.
|
| class FlowGraphBuilder: public ValueObject {
|
| public:
|
| - // The inlining context is NULL if not inlining. The osr_id is the deopt
|
| - // id of the OSR entry or Isolate::kNoDeoptId if not compiling for OSR.
|
| + // The inlining context is NULL if not inlining.
|
| FlowGraphBuilder(ParsedFunction* parsed_function,
|
| const Array& ic_data_array,
|
| - InlineExitCollector* exit_collector,
|
| - intptr_t osr_id);
|
| + InlineExitCollector* exit_collector);
|
|
|
| FlowGraph* BuildGraph();
|
|
|
| @@ -145,10 +143,6 @@ class FlowGraphBuilder: public ValueObject {
|
| intptr_t args_pushed() const { return args_pushed_; }
|
| void add_args_pushed(intptr_t n) { args_pushed_ += n; }
|
|
|
| - // When compiling for OSR, remove blocks that are not reachable from the
|
| - // OSR entry point.
|
| - void PruneUnreachable();
|
| -
|
| private:
|
| intptr_t parameter_count() const {
|
| return num_copied_params_ + num_non_copied_params_;
|
| @@ -174,10 +168,6 @@ class FlowGraphBuilder: public ValueObject {
|
| // Outgoing argument stack height.
|
| intptr_t args_pushed_;
|
|
|
| - // The deopt id of the OSR entry or Isolate::kNoDeoptId if not compiling
|
| - // for OSR.
|
| - const intptr_t osr_id_;
|
| -
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(FlowGraphBuilder);
|
| };
|
|
|
| @@ -239,8 +229,7 @@ class EffectGraphVisitor : public AstNodeVisitor {
|
| // Append a 'while loop' test and back edge to this graph, depending on
|
| // which parts are reachable. Afterward, the graph exit is the false
|
| // successor of the loop condition.
|
| - void TieLoop(intptr_t token_pos,
|
| - const TestGraphVisitor& test_fragment,
|
| + void TieLoop(const TestGraphVisitor& test_fragment,
|
| const EffectGraphVisitor& body_fragment);
|
|
|
| // Wraps a value in a push-argument instruction and adds the result to the
|
|
|