| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 #include "vm/flow_graph_inliner.h" | 5 #include "vm/flow_graph_inliner.h" |
| 6 | 6 |
| 7 #include "vm/block_scheduler.h" | 7 #include "vm/block_scheduler.h" |
| 8 #include "vm/branch_optimizer.h" |
| 8 #include "vm/compiler.h" | 9 #include "vm/compiler.h" |
| 9 #include "vm/flags.h" | 10 #include "vm/flags.h" |
| 10 #include "vm/flow_graph.h" | 11 #include "vm/flow_graph.h" |
| 11 #include "vm/flow_graph_builder.h" | 12 #include "vm/flow_graph_builder.h" |
| 12 #include "vm/flow_graph_compiler.h" | 13 #include "vm/flow_graph_compiler.h" |
| 13 #include "vm/flow_graph_optimizer.h" | 14 #include "vm/flow_graph_optimizer.h" |
| 14 #include "vm/flow_graph_type_propagator.h" | 15 #include "vm/flow_graph_type_propagator.h" |
| 15 #include "vm/il_printer.h" | 16 #include "vm/il_printer.h" |
| 16 #include "vm/intrinsifier.h" | 17 #include "vm/intrinsifier.h" |
| 17 #include "vm/longjump.h" | 18 #include "vm/longjump.h" |
| (...skipping 1917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1935 intptr_t FlowGraphInliner::NextInlineId(const Function& function, | 1936 intptr_t FlowGraphInliner::NextInlineId(const Function& function, |
| 1936 intptr_t parent_id) { | 1937 intptr_t parent_id) { |
| 1937 const intptr_t id = inline_id_to_function_->length(); | 1938 const intptr_t id = inline_id_to_function_->length(); |
| 1938 inline_id_to_function_->Add(&function); | 1939 inline_id_to_function_->Add(&function); |
| 1939 caller_inline_id_->Add(parent_id); | 1940 caller_inline_id_->Add(parent_id); |
| 1940 return id; | 1941 return id; |
| 1941 } | 1942 } |
| 1942 | 1943 |
| 1943 | 1944 |
| 1944 } // namespace dart | 1945 } // namespace dart |
| OLD | NEW |