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

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

Issue 10662034: Forgot to save file, missed changed comment. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 void GenerateInlinedGetter(intptr_t offset); 256 void GenerateInlinedGetter(intptr_t offset);
257 void GenerateInlinedSetter(intptr_t offset); 257 void GenerateInlinedSetter(intptr_t offset);
258 258
259 // Map a block number in a forward iteration into the block number in the 259 // Map a block number in a forward iteration into the block number in the
260 // corresponding reverse iteration. Used to obtain an index into 260 // corresponding reverse iteration. Used to obtain an index into
261 // block_order for reverse iterations. 261 // block_order for reverse iterations.
262 intptr_t reverse_index(intptr_t index) const { 262 intptr_t reverse_index(intptr_t index) const {
263 return block_order_.length() - index - 1; 263 return block_order_.length() - index - 1;
264 } 264 }
265 265
266 // Returns true if the generated code does not call other Dart code. 266 // Returns true if the generated code does not call other Dart code or
267 // Only deoptimization is allowed to occur. Closures are not leaf. 267 // runtime. Only deoptimization is allowed to occur. Closures are not leaf.
268 bool IsLeaf() const; 268 bool IsLeaf() const;
269 269
270 class Assembler* assembler_; 270 class Assembler* assembler_;
271 const ParsedFunction& parsed_function_; 271 const ParsedFunction& parsed_function_;
272 const GrowableArray<BlockEntryInstr*>& block_order_; 272 const GrowableArray<BlockEntryInstr*>& block_order_;
273 273
274 // Compiler specific per-block state. Indexed by postorder block number 274 // Compiler specific per-block state. Indexed by postorder block number
275 // for convenience. This is not the block's index in the block order, 275 // for convenience. This is not the block's index in the block order,
276 // which is reverse postorder. 276 // which is reverse postorder.
277 BlockEntryInstr* current_block_; 277 BlockEntryInstr* current_block_;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 const DeoptReasonId reason_; 319 const DeoptReasonId reason_;
320 GrowableArray<Register> registers_; 320 GrowableArray<Register> registers_;
321 Label entry_label_; 321 Label entry_label_;
322 322
323 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 323 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
324 }; 324 };
325 325
326 } // namespace dart 326 } // namespace dart
327 327
328 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 328 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698