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

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

Issue 467103005: Fixes to support ARMv5 lego mindstorm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 781
782 // Instruction pattern from entrypoint is used in dart frame prologs 782 // Instruction pattern from entrypoint is used in dart frame prologs
783 // to set up the frame and save a PC which can be used to figure out the 783 // to set up the frame and save a PC which can be used to figure out the
784 // RawInstruction object corresponding to the code running in the frame. 784 // RawInstruction object corresponding to the code running in the frame.
785 // entrypoint: 785 // entrypoint:
786 // pushl ebp (size is 1 byte) 786 // pushl ebp (size is 1 byte)
787 // movl ebp, esp (size is 2 bytes) 787 // movl ebp, esp (size is 2 bytes)
788 // call L (size is 5 bytes) 788 // call L (size is 5 bytes)
789 // L: 789 // L:
790 static const intptr_t kEntryPointToPcMarkerOffset = 8; 790 static const intptr_t kEntryPointToPcMarkerOffset = 8;
791 static intptr_t EntryPointToPcMarkerOffset() {
792 return kEntryPointToPcMarkerOffset;
793 }
791 794
792 void UpdateAllocationStats(intptr_t cid, 795 void UpdateAllocationStats(intptr_t cid,
793 Register temp_reg, 796 Register temp_reg,
794 Heap::Space space = Heap::kNew); 797 Heap::Space space = Heap::kNew);
795 798
796 void UpdateAllocationStatsWithSize(intptr_t cid, 799 void UpdateAllocationStatsWithSize(intptr_t cid,
797 Register size_reg, 800 Register size_reg,
798 Register temp_reg, 801 Register temp_reg,
799 Heap::Space space = Heap::kNew); 802 Heap::Space space = Heap::kNew);
800 void UpdateAllocationStatsWithSize(intptr_t cid, 803 void UpdateAllocationStatsWithSize(intptr_t cid,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 } 928 }
926 929
927 930
928 inline void Assembler::EmitOperandSizeOverride() { 931 inline void Assembler::EmitOperandSizeOverride() {
929 EmitUint8(0x66); 932 EmitUint8(0x66);
930 } 933 }
931 934
932 } // namespace dart 935 } // namespace dart
933 936
934 #endif // VM_ASSEMBLER_IA32_H_ 937 #endif // VM_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698