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

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

Issue 9693020: Optional arguments in new compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler_x64.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_X64_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_
6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ 6 #define VM_FLOW_GRAPH_COMPILER_X64_H_
7 7
8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_
9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h.
10 #endif 10 #endif
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 const AbstractType& dst_type, 90 const AbstractType& dst_type,
91 const String& dst_name); 91 const String& dst_name);
92 92
93 void GenerateInstanceOf(intptr_t node_id, 93 void GenerateInstanceOf(intptr_t node_id,
94 intptr_t token_index, 94 intptr_t token_index,
95 const AbstractType& type, 95 const AbstractType& type,
96 bool negate_result); 96 bool negate_result);
97 97
98 void GenerateInstantiatorTypeArguments(intptr_t token_index); 98 void GenerateInstantiatorTypeArguments(intptr_t token_index);
99 99
100 void CopyParameters();
101
102 intptr_t StackSize() const;
103
100 Assembler* assembler_; 104 Assembler* assembler_;
101 const ParsedFunction& parsed_function_; 105 const ParsedFunction& parsed_function_;
102 const GrowableArray<BlockEntryInstr*>* blocks_; 106 const GrowableArray<BlockEntryInstr*>* blocks_;
103 107
104 // Compiler specific per-block state. Indexed by block number, so not 108 // Compiler specific per-block state. Indexed by block number, so not
105 // necessarily the same order as the array of blocks. 109 // necessarily the same order as the array of blocks.
106 GrowableArray<BlockInfo*> block_info_; 110 GrowableArray<BlockInfo*> block_info_;
107 111
108 BlockEntryInstr* current_block_; 112 BlockEntryInstr* current_block_;
109 113
110 CodeGenerator::DescriptorList* pc_descriptors_list_; 114 CodeGenerator::DescriptorList* pc_descriptors_list_;
111 115
112 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 116 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
113 }; 117 };
114 118
115 } // namespace dart 119 } // namespace dart
116 120
117 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 121 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698