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

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.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_ia32.h ('k') | runtime/vm/intermediate_language_ia32.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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 Register temp_reg, 130 Register temp_reg,
131 Label* deopt); 131 Label* deopt);
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 intptr_t StackSize() const; 142 intptr_t StackSize() const;
141 143
142 // Returns assembler label associated with the given block entry. 144 // Returns assembler label associated with the given block entry.
143 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; 145 Label* GetBlockLabel(BlockEntryInstr* block_entry) const;
144 146
145 // Returns true if the next block after current in the current block order 147 // Returns true if the next block after current in the current block order
146 // is the given block. 148 // is the given block.
147 bool IsNextBlock(TargetEntryInstr* block_entry) const; 149 bool IsNextBlock(TargetEntryInstr* block_entry) const;
148 150
149 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); 151 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset);
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 const DeoptReasonId reason_; 295 const DeoptReasonId reason_;
294 GrowableArray<Register> registers_; 296 GrowableArray<Register> registers_;
295 Label entry_label_; 297 Label entry_label_;
296 298
297 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 299 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
298 }; 300 };
299 301
300 } // namespace dart 302 } // namespace dart
301 303
302 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 304 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.h ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698