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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 const Class& list_class_; | 781 const Class& list_class_; |
782 | 782 |
783 ParallelMoveResolver parallel_move_resolver_; | 783 ParallelMoveResolver parallel_move_resolver_; |
784 | 784 |
785 // Currently instructions generate deopt stubs internally by | 785 // Currently instructions generate deopt stubs internally by |
786 // calling AddDeoptStub. To communicate deoptimization environment | 786 // calling AddDeoptStub. To communicate deoptimization environment |
787 // that should be used when deoptimizing we store it in this variable. | 787 // that should be used when deoptimizing we store it in this variable. |
788 // In future AddDeoptStub should be moved out of the instruction template. | 788 // In future AddDeoptStub should be moved out of the instruction template. |
789 Environment* pending_deoptimization_env_; | 789 Environment* pending_deoptimization_env_; |
790 | 790 |
791 intptr_t lazy_deopt_return_pc_offset_; | |
792 intptr_t lazy_deopt_throw_pc_offset_; | |
793 | |
794 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; | 791 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; |
795 | 792 |
796 Array& edge_counters_array_; | 793 Array& edge_counters_array_; |
797 | 794 |
798 Array& inlined_code_intervals_; | 795 Array& inlined_code_intervals_; |
799 const GrowableArray<const Function*>& inline_id_to_function_; | 796 const GrowableArray<const Function*>& inline_id_to_function_; |
800 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; | 797 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; |
801 const GrowableArray<intptr_t>& caller_inline_id_; | 798 const GrowableArray<intptr_t>& caller_inline_id_; |
802 | 799 |
803 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 800 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
804 }; | 801 }; |
805 | 802 |
806 } // namespace dart | 803 } // namespace dart |
807 | 804 |
808 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 805 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
OLD | NEW |