OLD | NEW |
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_COMPILER_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
6 #define VM_FLOW_GRAPH_COMPILER_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
10 #include "vm/code_descriptors.h" | 10 #include "vm/code_descriptors.h" |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 intptr_t deopt_id, | 410 intptr_t deopt_id, |
411 intptr_t token_pos, | 411 intptr_t token_pos, |
412 LocationSummary* locs); | 412 LocationSummary* locs); |
413 | 413 |
414 void EmitMegamorphicInstanceCall(const ICData& ic_data, | 414 void EmitMegamorphicInstanceCall(const ICData& ic_data, |
415 intptr_t argument_count, | 415 intptr_t argument_count, |
416 intptr_t deopt_id, | 416 intptr_t deopt_id, |
417 intptr_t token_pos, | 417 intptr_t token_pos, |
418 LocationSummary* locs); | 418 LocationSummary* locs); |
419 | 419 |
| 420 void EmitSwitchableInstanceCall(const ICData& ic_data, |
| 421 intptr_t argument_count, |
| 422 intptr_t deopt_id, |
| 423 intptr_t token_pos, |
| 424 LocationSummary* locs); |
| 425 |
420 void EmitTestAndCall(const ICData& ic_data, | 426 void EmitTestAndCall(const ICData& ic_data, |
421 intptr_t arg_count, | 427 intptr_t arg_count, |
422 const Array& arg_names, | 428 const Array& arg_names, |
423 Label* failed, | 429 Label* failed, |
424 Label* match_found, | 430 Label* match_found, |
425 intptr_t deopt_id, | 431 intptr_t deopt_id, |
426 intptr_t token_index, | 432 intptr_t token_index, |
427 LocationSummary* locs); | 433 LocationSummary* locs); |
428 | 434 |
429 Condition EmitEqualityRegConstCompare(Register reg, | 435 Condition EmitEqualityRegConstCompare(Register reg, |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 Array& inlined_code_intervals_; | 744 Array& inlined_code_intervals_; |
739 const GrowableArray<const Function*>& inline_id_to_function_; | 745 const GrowableArray<const Function*>& inline_id_to_function_; |
740 const GrowableArray<intptr_t>& caller_inline_id_; | 746 const GrowableArray<intptr_t>& caller_inline_id_; |
741 | 747 |
742 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 748 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
743 }; | 749 }; |
744 | 750 |
745 } // namespace dart | 751 } // namespace dart |
746 | 752 |
747 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 753 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
OLD | NEW |