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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 Label* AddDeoptStub(intptr_t deopt_id, | 464 Label* AddDeoptStub(intptr_t deopt_id, |
465 ICData::DeoptReasonId reason, | 465 ICData::DeoptReasonId reason, |
466 uint32_t flags = 0); | 466 uint32_t flags = 0); |
467 | 467 |
468 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); | 468 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); |
469 | 469 |
470 void AddSlowPathCode(SlowPathCode* slow_path); | 470 void AddSlowPathCode(SlowPathCode* slow_path); |
471 | 471 |
472 void FinalizeExceptionHandlers(const Code& code); | 472 void FinalizeExceptionHandlers(const Code& code); |
473 void FinalizePcDescriptors(const Code& code); | 473 void FinalizePcDescriptors(const Code& code); |
474 void FinalizeDeoptInfo(const Code& code); | 474 RawArray* CreateDeoptInfo(Assembler* assembler); |
475 void FinalizeStackmaps(const Code& code); | 475 void FinalizeStackmaps(const Code& code); |
476 void FinalizeVarDescriptors(const Code& code); | 476 void FinalizeVarDescriptors(const Code& code); |
477 void FinalizeStaticCallTargetsTable(const Code& code); | 477 void FinalizeStaticCallTargetsTable(const Code& code); |
478 | 478 |
479 const Class& double_class() const { return double_class_; } | 479 const Class& double_class() const { return double_class_; } |
480 const Class& mint_class() const { return mint_class_; } | 480 const Class& mint_class() const { return mint_class_; } |
481 const Class& float32x4_class() const { return float32x4_class_; } | 481 const Class& float32x4_class() const { return float32x4_class_; } |
482 const Class& float64x2_class() const { return float64x2_class_; } | 482 const Class& float64x2_class() const { return float64x2_class_; } |
483 const Class& int32x4_class() const { return int32x4_class_; } | 483 const Class& int32x4_class() const { return int32x4_class_; } |
484 | 484 |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 const Array* inlined_code_intervals_; | 711 const Array* inlined_code_intervals_; |
712 const GrowableArray<const Function*>& inline_id_to_function_; | 712 const GrowableArray<const Function*>& inline_id_to_function_; |
713 const GrowableArray<intptr_t>& caller_inline_id_; | 713 const GrowableArray<intptr_t>& caller_inline_id_; |
714 | 714 |
715 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 715 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
716 }; | 716 }; |
717 | 717 |
718 } // namespace dart | 718 } // namespace dart |
719 | 719 |
720 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 720 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
OLD | NEW |