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

Side by Side Diff: runtime/vm/assembler_x64.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
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 847
848 // Instruction pattern from entrypoint is used in dart frame prologues 848 // Instruction pattern from entrypoint is used in dart frame prologues
849 // to set up the frame and save a PC which can be used to figure out the 849 // to set up the frame and save a PC which can be used to figure out the
850 // RawInstruction object corresponding to the code running in the frame. 850 // RawInstruction object corresponding to the code running in the frame.
851 // entrypoint: 851 // entrypoint:
852 // pushq rbp (size is 1 byte) 852 // pushq rbp (size is 1 byte)
853 // movq rbp, rsp (size is 3 bytes) 853 // movq rbp, rsp (size is 3 bytes)
854 // call L (size is 5 bytes) 854 // call L (size is 5 bytes)
855 // L: 855 // L:
856 static const intptr_t kEntryPointToPcMarkerOffset = 9; 856 static const intptr_t kEntryPointToPcMarkerOffset = 9;
857 static intptr_t EntryPointToPcMarkerOffset() {
858 return kEntryPointToPcMarkerOffset;
859 }
857 860
858 void UpdateAllocationStats(intptr_t cid, 861 void UpdateAllocationStats(intptr_t cid,
859 Heap::Space space = Heap::kNew); 862 Heap::Space space = Heap::kNew);
860 863
861 void UpdateAllocationStatsWithSize(intptr_t cid, 864 void UpdateAllocationStatsWithSize(intptr_t cid,
862 Register size_reg, 865 Register size_reg,
863 Heap::Space space = Heap::kNew); 866 Heap::Space space = Heap::kNew);
864 void UpdateAllocationStatsWithSize(intptr_t cid, 867 void UpdateAllocationStatsWithSize(intptr_t cid,
865 intptr_t instance_size, 868 intptr_t instance_size,
866 Heap::Space space = Heap::kNew); 869 Heap::Space space = Heap::kNew);
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 } 1114 }
1112 1115
1113 1116
1114 inline void Assembler::EmitOperandSizeOverride() { 1117 inline void Assembler::EmitOperandSizeOverride() {
1115 EmitUint8(0x66); 1118 EmitUint8(0x66);
1116 } 1119 }
1117 1120
1118 } // namespace dart 1121 } // namespace dart
1119 1122
1120 #endif // VM_ASSEMBLER_X64_H_ 1123 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698