OLD | NEW |
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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 // ret PC | 942 // ret PC |
943 // ..... | 943 // ..... |
944 // This code sets this up with the sequence: | 944 // This code sets this up with the sequence: |
945 // pushq rbp | 945 // pushq rbp |
946 // movq rbp, rsp | 946 // movq rbp, rsp |
947 // pushq immediate(0) | 947 // pushq immediate(0) |
948 // ..... | 948 // ..... |
949 void EnterStubFrame(); | 949 void EnterStubFrame(); |
950 void LeaveStubFrame(); | 950 void LeaveStubFrame(); |
951 | 951 |
| 952 void RawEntry() { buffer_.Reset(); } |
| 953 void NoMonomorphicCheckedEntry(); |
| 954 void MonomorphicCheckedEntry(); |
| 955 |
952 void UpdateAllocationStats(intptr_t cid, | 956 void UpdateAllocationStats(intptr_t cid, |
953 Heap::Space space); | 957 Heap::Space space); |
954 | 958 |
955 void UpdateAllocationStatsWithSize(intptr_t cid, | 959 void UpdateAllocationStatsWithSize(intptr_t cid, |
956 Register size_reg, | 960 Register size_reg, |
957 Heap::Space space); | 961 Heap::Space space); |
958 void UpdateAllocationStatsWithSize(intptr_t cid, | 962 void UpdateAllocationStatsWithSize(intptr_t cid, |
959 intptr_t instance_size, | 963 intptr_t instance_size, |
960 Heap::Space space); | 964 Heap::Space space); |
961 | 965 |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 } | 1169 } |
1166 | 1170 |
1167 | 1171 |
1168 inline void Assembler::EmitOperandSizeOverride() { | 1172 inline void Assembler::EmitOperandSizeOverride() { |
1169 EmitUint8(0x66); | 1173 EmitUint8(0x66); |
1170 } | 1174 } |
1171 | 1175 |
1172 } // namespace dart | 1176 } // namespace dart |
1173 | 1177 |
1174 #endif // VM_ASSEMBLER_X64_H_ | 1178 #endif // VM_ASSEMBLER_X64_H_ |
OLD | NEW |