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

Side by Side Diff: vm/flow_graph_compiler_x64.h

Issue 10836239: Change indexed load and store IL instructions to fit with SSA backend. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 Register temp_reg, 142 Register temp_reg,
143 Label* deopt); 143 Label* deopt);
144 144
145 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit 145 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit
146 // pc-descriptor information. 146 // pc-descriptor information.
147 intptr_t EmitInstanceCall(ExternalLabel* target_label, 147 intptr_t EmitInstanceCall(ExternalLabel* target_label,
148 const ICData& ic_data, 148 const ICData& ic_data,
149 const Array& arguments_descriptor, 149 const Array& arguments_descriptor,
150 intptr_t argument_count); 150 intptr_t argument_count);
151 151
152 void EmitLoadIndexedGeneric(LoadIndexedComp* comp);
153 void EmitTestAndCall(const ICData& ic_data, 152 void EmitTestAndCall(const ICData& ic_data,
154 Register class_id_reg, 153 Register class_id_reg,
155 intptr_t arg_count, 154 intptr_t arg_count,
156 const Array& arg_names, 155 const Array& arg_names,
157 Label* deopt, 156 Label* deopt,
158 Label* done, // Can be NULL, which means fallthrough. 157 Label* done, // Can be NULL, which means fallthrough.
159 intptr_t deopt_id, 158 intptr_t deopt_id,
160 intptr_t token_index, 159 intptr_t token_index,
161 intptr_t try_index, 160 intptr_t try_index,
162 BitmapBuilder* stack_bitmap); 161 BitmapBuilder* stack_bitmap);
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 // that should be used when deoptimizing we store it in this variable. 321 // that should be used when deoptimizing we store it in this variable.
323 // In future AddDeoptStub should be moved out of the instruction template. 322 // In future AddDeoptStub should be moved out of the instruction template.
324 Environment* pending_deoptimization_env_; 323 Environment* pending_deoptimization_env_;
325 324
326 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 325 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
327 }; 326 };
328 327
329 } // namespace dart 328 } // namespace dart
330 329
331 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 330 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698