OLD | NEW |
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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 void EnterFrame(intptr_t frame_space); | 528 void EnterFrame(intptr_t frame_space); |
529 void LeaveFrame(); | 529 void LeaveFrame(); |
530 | 530 |
531 void CallRuntime(const RuntimeEntry& entry); | 531 void CallRuntime(const RuntimeEntry& entry); |
532 | 532 |
533 /* | 533 /* |
534 * Loading and comparing classes of objects. | 534 * Loading and comparing classes of objects. |
535 */ | 535 */ |
536 void LoadClassId(Register result, Register object); | 536 void LoadClassId(Register result, Register object); |
537 | 537 |
| 538 void LoadClassById(Register result, Register class_id); |
| 539 |
538 void LoadClass(Register result, Register object, Register scratch); | 540 void LoadClass(Register result, Register object, Register scratch); |
539 | 541 |
540 void CompareClassId(Register object, | 542 void CompareClassId(Register object, |
541 intptr_t class_id, | 543 intptr_t class_id, |
542 Register scratch); | 544 Register scratch); |
543 | 545 |
544 /* | 546 /* |
545 * Misc. functionality | 547 * Misc. functionality |
546 */ | 548 */ |
547 void SmiTag(Register reg) { | 549 void SmiTag(Register reg) { |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 } | 648 } |
647 | 649 |
648 | 650 |
649 inline void Assembler::EmitOperandSizeOverride() { | 651 inline void Assembler::EmitOperandSizeOverride() { |
650 EmitUint8(0x66); | 652 EmitUint8(0x66); |
651 } | 653 } |
652 | 654 |
653 } // namespace dart | 655 } // namespace dart |
654 | 656 |
655 #endif // VM_ASSEMBLER_IA32_H_ | 657 #endif // VM_ASSEMBLER_IA32_H_ |
OLD | NEW |