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

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

Issue 10534105: Implement is32 LoadIndexed. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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_compiler.cc ('k') | runtime/vm/flow_graph_compiler_x64.h » ('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_IA32_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_
6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ 6 #define VM_FLOW_GRAPH_COMPILER_IA32_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_ia32.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h.
10 #endif 10 #endif
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 void GenerateListTypeCheck(Register kClassIdReg, 130 void GenerateListTypeCheck(Register kClassIdReg,
131 Label* is_instance_lbl); 131 Label* is_instance_lbl);
132 132
133 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit 133 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit
134 // pc-descriptor information. 134 // pc-descriptor information.
135 intptr_t EmitInstanceCall(ExternalLabel* target_label, 135 intptr_t EmitInstanceCall(ExternalLabel* target_label,
136 const ICData& ic_data, 136 const ICData& ic_data,
137 const Array& arguments_descriptor, 137 const Array& arguments_descriptor,
138 intptr_t argument_count); 138 intptr_t argument_count);
139 139
140 void EmitLoadIndexedGeneric(LoadIndexedComp* comp);
141
140 void EmitComment(Instruction* instr); 142 void EmitComment(Instruction* instr);
141 143
142 void EmitClassChecksNoSmi(const ZoneGrowableArray<intptr_t>& class_ids, 144 void EmitClassChecksNoSmi(const ZoneGrowableArray<intptr_t>& class_ids,
143 Register instance_reg, 145 Register instance_reg,
144 Register temp_reg, 146 Register temp_reg,
145 Label* deopt); 147 Label* deopt);
146 148
147 intptr_t StackSize() const; 149 intptr_t StackSize() const;
148 150
149 // Returns assembler label associated with the given block entry. 151 // Returns assembler label associated with the given block entry.
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 GrowableArray<Register> registers_; 293 GrowableArray<Register> registers_;
292 Label entry_label_; 294 Label entry_label_;
293 295
294 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 296 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
295 }; 297 };
296 298
297 299
298 } // namespace dart 300 } // namespace dart
299 301
300 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 302 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/flow_graph_compiler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698