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

Side by Side Diff: runtime/vm/assembler_ia32.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_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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 void EnterCallRuntimeFrame(intptr_t frame_space); 683 void EnterCallRuntimeFrame(intptr_t frame_space);
684 void LeaveCallRuntimeFrame(); 684 void LeaveCallRuntimeFrame();
685 685
686 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count); 686 void CallRuntime(const RuntimeEntry& entry, intptr_t argument_count);
687 687
688 /* 688 /*
689 * Loading and comparing classes of objects. 689 * Loading and comparing classes of objects.
690 */ 690 */
691 void LoadClassId(Register result, Register object); 691 void LoadClassId(Register result, Register object);
692 692
693 void LoadClassById(Register result, Register class_id); 693 void LoadClassById(Register result, Register class_id, Isolate* isolate);
694 694
695 void LoadClass(Register result, Register object, Register scratch); 695 void LoadClass(Register result,
696 Register object,
697 Register scratch,
698 Isolate* isolate);
696 699
697 void CompareClassId(Register object, intptr_t class_id, Register scratch); 700 void CompareClassId(Register object, intptr_t class_id, Register scratch);
698 701
699 void LoadTaggedClassIdMayBeSmi(Register result, 702 void LoadTaggedClassIdMayBeSmi(Register result,
700 Register object); 703 Register object);
701 704
702 void SmiUntagOrCheckClass(Register object, 705 void SmiUntagOrCheckClass(Register object,
703 intptr_t class_id, 706 intptr_t class_id,
704 Register scratch, 707 Register scratch,
705 Label* is_smi); 708 Label* is_smi);
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 } 951 }
949 952
950 953
951 inline void Assembler::EmitOperandSizeOverride() { 954 inline void Assembler::EmitOperandSizeOverride() {
952 EmitUint8(0x66); 955 EmitUint8(0x66);
953 } 956 }
954 957
955 } // namespace dart 958 } // namespace dart
956 959
957 #endif // VM_ASSEMBLER_IA32_H_ 960 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698