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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 intptr_t token_pos, | 407 intptr_t token_pos, |
408 LocationSummary* locs); | 408 LocationSummary* locs); |
409 | 409 |
410 void EmitMegamorphicInstanceCall(const ICData& ic_data, | 410 void EmitMegamorphicInstanceCall(const ICData& ic_data, |
411 intptr_t argument_count, | 411 intptr_t argument_count, |
412 intptr_t deopt_id, | 412 intptr_t deopt_id, |
413 intptr_t token_pos, | 413 intptr_t token_pos, |
414 LocationSummary* locs); | 414 LocationSummary* locs); |
415 | 415 |
416 void EmitTestAndCall(const ICData& ic_data, | 416 void EmitTestAndCall(const ICData& ic_data, |
417 Register class_id_reg, | |
418 intptr_t arg_count, | 417 intptr_t arg_count, |
419 const Array& arg_names, | 418 const Array& arg_names, |
420 Label* deopt, | 419 Label* failed, |
| 420 Label* match_found, |
421 intptr_t deopt_id, | 421 intptr_t deopt_id, |
422 intptr_t token_index, | 422 intptr_t token_index, |
423 LocationSummary* locs); | 423 LocationSummary* locs); |
424 | 424 |
425 Condition EmitEqualityRegConstCompare(Register reg, | 425 Condition EmitEqualityRegConstCompare(Register reg, |
426 const Object& obj, | 426 const Object& obj, |
427 bool needs_number_check, | 427 bool needs_number_check, |
428 intptr_t token_pos); | 428 intptr_t token_pos); |
429 Condition EmitEqualityRegRegCompare(Register left, | 429 Condition EmitEqualityRegRegCompare(Register left, |
430 Register right, | 430 Register right, |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 Array& inlined_code_intervals_; | 710 Array& inlined_code_intervals_; |
711 const GrowableArray<const Function*>& inline_id_to_function_; | 711 const GrowableArray<const Function*>& inline_id_to_function_; |
712 const GrowableArray<intptr_t>& caller_inline_id_; | 712 const GrowableArray<intptr_t>& caller_inline_id_; |
713 | 713 |
714 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 714 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
715 }; | 715 }; |
716 | 716 |
717 } // namespace dart | 717 } // namespace dart |
718 | 718 |
719 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 719 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
OLD | NEW |