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

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

Issue 605533003: Make subtype test stubs isolate-specific. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_X64_H_ 5 #ifndef VM_ASSEMBLER_X64_H_
6 #define VM_ASSEMBLER_X64_H_ 6 #define VM_ASSEMBLER_X64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_x64.h directly; use assembler.h instead. 9 #error Do not include assembler_x64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 // Call runtime function. Reserves shadow space on the stack before calling 747 // Call runtime function. Reserves shadow space on the stack before calling
748 // if platform ABI requires that. Does not restore RSP after the call itself. 748 // if platform ABI requires that. Does not restore RSP after the call itself.
749 void CallCFunction(const ExternalLabel* label); 749 void CallCFunction(const ExternalLabel* label);
750 void CallCFunction(Register reg); 750 void CallCFunction(Register reg);
751 751
752 /* 752 /*
753 * Loading and comparing classes of objects. 753 * Loading and comparing classes of objects.
754 */ 754 */
755 void LoadClassId(Register result, Register object); 755 void LoadClassId(Register result, Register object);
756 756
757 void LoadClassById(Register result, Register class_id); 757 void LoadClassById(Register result,
758 Register class_id,
759 Isolate* isolate,
760 Register pp);
758 761
759 void LoadClass(Register result, Register object); 762 void LoadClass(Register result,
763 Register object,
764 Isolate* isolate,
765 Register pp);
760 766
761 void CompareClassId(Register object, intptr_t class_id); 767 void CompareClassId(Register object, intptr_t class_id);
762 768
763 void LoadTaggedClassIdMayBeSmi(Register result, Register object); 769 void LoadTaggedClassIdMayBeSmi(Register result, Register object);
764 770
765 // CheckClassIs fused with optimistic SmiUntag. 771 // CheckClassIs fused with optimistic SmiUntag.
766 // Value in the register object is untagged optimistically. 772 // Value in the register object is untagged optimistically.
767 void SmiUntagOrCheckClass(Register object, intptr_t class_id, Label* smi); 773 void SmiUntagOrCheckClass(Register object, intptr_t class_id, Label* smi);
768 774
769 /* 775 /*
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 } 1134 }
1129 1135
1130 1136
1131 inline void Assembler::EmitOperandSizeOverride() { 1137 inline void Assembler::EmitOperandSizeOverride() {
1132 EmitUint8(0x66); 1138 EmitUint8(0x66);
1133 } 1139 }
1134 1140
1135 } // namespace dart 1141 } // namespace dart
1136 1142
1137 #endif // VM_ASSEMBLER_X64_H_ 1143 #endif // VM_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698