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

Side by Side Diff: runtime/vm/assembler_ia32.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_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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 * Loading and comparing classes of objects. 735 * Loading and comparing classes of objects.
736 */ 736 */
737 void LoadClassId(Register result, Register object); 737 void LoadClassId(Register result, Register object);
738 738
739 void LoadClassById(Register result, Register class_id); 739 void LoadClassById(Register result, Register class_id);
740 740
741 void LoadClass(Register result, Register object, Register scratch); 741 void LoadClass(Register result, Register object, Register scratch);
742 742
743 void CompareClassId(Register object, intptr_t class_id, Register scratch); 743 void CompareClassId(Register object, intptr_t class_id, Register scratch);
744 744
745 void LoadTaggedClassIdMayBeSmi(Register result, 745 void LoadClassIdMayBeSmi(Register result, Register object);
746 Register object); 746 void LoadTaggedClassIdMayBeSmi(Register result, Register object);
747 747
748 void SmiUntagOrCheckClass(Register object, 748 void SmiUntagOrCheckClass(Register object,
749 intptr_t class_id, 749 intptr_t class_id,
750 Register scratch, 750 Register scratch,
751 Label* is_smi); 751 Label* is_smi);
752 752
753 void ComputeRange(Register result, 753 void ComputeRange(Register result,
754 Register value, 754 Register value,
755 Register lo_temp, 755 Register lo_temp,
756 Register hi_temp, 756 Register hi_temp,
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 } 1031 }
1032 1032
1033 1033
1034 inline void Assembler::EmitOperandSizeOverride() { 1034 inline void Assembler::EmitOperandSizeOverride() {
1035 EmitUint8(0x66); 1035 EmitUint8(0x66);
1036 } 1036 }
1037 1037
1038 } // namespace dart 1038 } // namespace dart
1039 1039
1040 #endif // VM_ASSEMBLER_IA32_H_ 1040 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698