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

Side by Side Diff: runtime/vm/assembler_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 | « no previous file | runtime/vm/flow_graph_compiler.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_ASSEMBLER_IA32_H_ 5 #ifndef VM_ASSEMBLER_IA32_H_
6 #define VM_ASSEMBLER_IA32_H_ 6 #define VM_ASSEMBLER_IA32_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_ia32.h directly; use assembler.h instead. 9 #error Do not include assembler_ia32.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 538
539 /* 539 /*
540 * Loading and comparing classes of objects. 540 * Loading and comparing classes of objects.
541 */ 541 */
542 void LoadClassId(Register result, Register object); 542 void LoadClassId(Register result, Register object);
543 543
544 void LoadClassById(Register result, Register class_id); 544 void LoadClassById(Register result, Register class_id);
545 545
546 void LoadClass(Register result, Register object, Register scratch); 546 void LoadClass(Register result, Register object, Register scratch);
547 547
548 void CompareClassId(Register object, 548 void CompareClassId(Register object, intptr_t class_id, Register scratch);
549 intptr_t class_id,
550 Register scratch);
551 549
552 /* 550 /*
553 * Misc. functionality 551 * Misc. functionality
554 */ 552 */
555 void SmiTag(Register reg) { 553 void SmiTag(Register reg) {
556 addl(reg, reg); 554 addl(reg, reg);
557 } 555 }
558 556
559 void SmiUntag(Register reg) { 557 void SmiUntag(Register reg) {
560 sarl(reg, Immediate(kSmiTagSize)); 558 sarl(reg, Immediate(kSmiTagSize));
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 } 652 }
655 653
656 654
657 inline void Assembler::EmitOperandSizeOverride() { 655 inline void Assembler::EmitOperandSizeOverride() {
658 EmitUint8(0x66); 656 EmitUint8(0x66);
659 } 657 }
660 658
661 } // namespace dart 659 } // namespace dart
662 660
663 #endif // VM_ASSEMBLER_IA32_H_ 661 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698