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

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

Issue 2374273002: Fix a throw returning to a frame marked for lazy deopt that captures the stacktrace. (Closed)
Patch Set: . 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/deopt_instructions.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_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_
OLDNEW
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698