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

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

Issue 1217323002: Intrinsic version of Object.runtimeType (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: more Created 5 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
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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 * Loading and comparing classes of objects. 852 * Loading and comparing classes of objects.
853 */ 853 */
854 void LoadClassId(Register result, Register object); 854 void LoadClassId(Register result, Register object);
855 855
856 void LoadClassById(Register result, Register class_id, Register pp); 856 void LoadClassById(Register result, Register class_id, Register pp);
857 857
858 void LoadClass(Register result, Register object, Register pp); 858 void LoadClass(Register result, Register object, Register pp);
859 859
860 void CompareClassId(Register object, intptr_t class_id); 860 void CompareClassId(Register object, intptr_t class_id);
861 861
862 void LoadClassIdMayBeSmi(Register result, Register object);
862 void LoadTaggedClassIdMayBeSmi(Register result, Register object); 863 void LoadTaggedClassIdMayBeSmi(Register result, Register object);
863 864
864 // CheckClassIs fused with optimistic SmiUntag. 865 // CheckClassIs fused with optimistic SmiUntag.
865 // Value in the register object is untagged optimistically. 866 // Value in the register object is untagged optimistically.
866 void SmiUntagOrCheckClass(Register object, intptr_t class_id, Label* smi); 867 void SmiUntagOrCheckClass(Register object, intptr_t class_id, Label* smi);
867 868
868 /* 869 /*
869 * Misc. functionality. 870 * Misc. functionality.
870 */ 871 */
871 void SmiTag(Register reg) { 872 void SmiTag(Register reg) {
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 } 1200 }
1200 1201
1201 1202
1202 inline void Assembler::EmitOperandSizeOverride() { 1203 inline void Assembler::EmitOperandSizeOverride() {
1203 EmitUint8(0x66); 1204 EmitUint8(0x66);
1204 } 1205 }
1205 1206
1206 } // namespace dart 1207 } // namespace dart
1207 1208
1208 #endif // VM_ASSEMBLER_X64_H_ 1209 #endif // VM_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698