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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 const Class& list_class_; | 812 const Class& list_class_; |
813 | 813 |
814 ParallelMoveResolver parallel_move_resolver_; | 814 ParallelMoveResolver parallel_move_resolver_; |
815 | 815 |
816 // Currently instructions generate deopt stubs internally by | 816 // Currently instructions generate deopt stubs internally by |
817 // calling AddDeoptStub. To communicate deoptimization environment | 817 // calling AddDeoptStub. To communicate deoptimization environment |
818 // that should be used when deoptimizing we store it in this variable. | 818 // that should be used when deoptimizing we store it in this variable. |
819 // In future AddDeoptStub should be moved out of the instruction template. | 819 // In future AddDeoptStub should be moved out of the instruction template. |
820 Environment* pending_deoptimization_env_; | 820 Environment* pending_deoptimization_env_; |
821 | 821 |
822 intptr_t lazy_deopt_pc_offset_; | 822 intptr_t lazy_deopt_return_pc_offset_; |
| 823 intptr_t lazy_deopt_throw_pc_offset_; |
823 | 824 |
824 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; | 825 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; |
825 | 826 |
826 Array& edge_counters_array_; | 827 Array& edge_counters_array_; |
827 | 828 |
828 Array& inlined_code_intervals_; | 829 Array& inlined_code_intervals_; |
829 const GrowableArray<const Function*>& inline_id_to_function_; | 830 const GrowableArray<const Function*>& inline_id_to_function_; |
830 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; | 831 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; |
831 const GrowableArray<intptr_t>& caller_inline_id_; | 832 const GrowableArray<intptr_t>& caller_inline_id_; |
832 | 833 |
833 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 834 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
834 }; | 835 }; |
835 | 836 |
836 } // namespace dart | 837 } // namespace dart |
837 | 838 |
838 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 839 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
OLD | NEW |