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

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

Issue 1192103004: VM: New calling convention for generated code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: ARM working, x64 cleanup Created 5 years, 3 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
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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_;
732 intptr_t lazy_deopt_pc_offset_; 730 intptr_t lazy_deopt_pc_offset_;
733 731
734 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; 732 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_;
735 733
736 Array& inlined_code_intervals_; 734 Array& inlined_code_intervals_;
737 const GrowableArray<const Function*>& inline_id_to_function_; 735 const GrowableArray<const Function*>& inline_id_to_function_;
738 const GrowableArray<intptr_t>& caller_inline_id_; 736 const GrowableArray<intptr_t>& caller_inline_id_;
739 737
740 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 738 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
741 }; 739 };
742 740
743 } // namespace dart 741 } // namespace dart
744 742
745 #endif // VM_FLOW_GRAPH_COMPILER_H_ 743 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698