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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 const Class& list_class_; | 720 const Class& list_class_; |
721 | 721 |
722 ParallelMoveResolver parallel_move_resolver_; | 722 ParallelMoveResolver parallel_move_resolver_; |
723 | 723 |
724 // Currently instructions generate deopt stubs internally by | 724 // Currently instructions generate deopt stubs internally by |
725 // calling AddDeoptStub. To communicate deoptimization environment | 725 // calling AddDeoptStub. To communicate deoptimization environment |
726 // that should be used when deoptimizing we store it in this variable. | 726 // that should be used when deoptimizing we store it in this variable. |
727 // In future AddDeoptStub should be moved out of the instruction template. | 727 // In future AddDeoptStub should be moved out of the instruction template. |
728 Environment* pending_deoptimization_env_; | 728 Environment* pending_deoptimization_env_; |
729 | 729 |
| 730 intptr_t entry_patch_pc_offset_; |
| 731 intptr_t patch_code_pc_offset_; |
730 intptr_t lazy_deopt_pc_offset_; | 732 intptr_t lazy_deopt_pc_offset_; |
731 | 733 |
732 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; | 734 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; |
733 | 735 |
734 Array& inlined_code_intervals_; | 736 Array& inlined_code_intervals_; |
735 const GrowableArray<const Function*>& inline_id_to_function_; | 737 const GrowableArray<const Function*>& inline_id_to_function_; |
736 const GrowableArray<intptr_t>& caller_inline_id_; | 738 const GrowableArray<intptr_t>& caller_inline_id_; |
737 | 739 |
738 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 740 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
739 }; | 741 }; |
740 | 742 |
741 } // namespace dart | 743 } // namespace dart |
742 | 744 |
743 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 745 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
OLD | NEW |