Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: runtime/vm/flow_graph_compiler.h

Issue 2380403003: Lazy deopt without code patching. (Closed)
Patch Set: remove tracing register assignment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_return_pc_offset_;
823 intptr_t lazy_deopt_throw_pc_offset_;
824
825 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; 822 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_;
826 823
827 Array& edge_counters_array_; 824 Array& edge_counters_array_;
828 825
829 Array& inlined_code_intervals_; 826 Array& inlined_code_intervals_;
830 const GrowableArray<const Function*>& inline_id_to_function_; 827 const GrowableArray<const Function*>& inline_id_to_function_;
831 const GrowableArray<TokenPosition>& inline_id_to_token_pos_; 828 const GrowableArray<TokenPosition>& inline_id_to_token_pos_;
832 const GrowableArray<intptr_t>& caller_inline_id_; 829 const GrowableArray<intptr_t>& caller_inline_id_;
833 830
834 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 831 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
835 }; 832 };
836 833
837 } // namespace dart 834 } // namespace dart
838 835
839 #endif // VM_FLOW_GRAPH_COMPILER_H_ 836 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698