| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM64_H_ | 5 #ifndef VM_ASSEMBLER_ARM64_H_ |
| 6 #define VM_ASSEMBLER_ARM64_H_ | 6 #define VM_ASSEMBLER_ARM64_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_arm64.h directly; use assembler.h instead. | 9 #error Do not include assembler_arm64.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1172 void LoadImmediate(Register reg, int64_t imm, Register pp); | 1172 void LoadImmediate(Register reg, int64_t imm, Register pp); |
| 1173 void LoadDImmediate(VRegister reg, double immd, Register pp); | 1173 void LoadDImmediate(VRegister reg, double immd, Register pp); |
| 1174 | 1174 |
| 1175 void PushObject(const Object& object, Register pp) { | 1175 void PushObject(const Object& object, Register pp) { |
| 1176 LoadObject(TMP, object, pp); | 1176 LoadObject(TMP, object, pp); |
| 1177 Push(TMP); | 1177 Push(TMP); |
| 1178 } | 1178 } |
| 1179 void CompareObject(Register reg, const Object& object, Register pp); | 1179 void CompareObject(Register reg, const Object& object, Register pp); |
| 1180 | 1180 |
| 1181 void LoadClassId(Register result, Register object, Register pp); | 1181 void LoadClassId(Register result, Register object, Register pp); |
| 1182 void LoadClassById(Register result, Register class_id, Register pp); | 1182 void LoadClassById(Register result, |
| 1183 void LoadClass(Register result, Register object, Register pp); | 1183 Register class_id, |
| 1184 Isolate* isolate, |
| 1185 Register pp); |
| 1186 void LoadClass(Register result, |
| 1187 Register object, |
| 1188 Isolate* isolate, |
| 1189 Register pp); |
| 1184 void CompareClassId(Register object, intptr_t class_id, Register pp); | 1190 void CompareClassId(Register object, intptr_t class_id, Register pp); |
| 1185 void LoadTaggedClassIdMayBeSmi(Register result, Register object); | 1191 void LoadTaggedClassIdMayBeSmi(Register result, Register object); |
| 1186 | 1192 |
| 1187 void EnterFrame(intptr_t frame_size); | 1193 void EnterFrame(intptr_t frame_size); |
| 1188 void LeaveFrame(); | 1194 void LeaveFrame(); |
| 1189 | 1195 |
| 1190 // When entering Dart code from C++, we copy the system stack pointer (CSP) | 1196 // When entering Dart code from C++, we copy the system stack pointer (CSP) |
| 1191 // to the Dart stack pointer (SP), and reserve a little space for the stack | 1197 // to the Dart stack pointer (SP), and reserve a little space for the stack |
| 1192 // to grow. | 1198 // to grow. |
| 1193 void SetupDartSP(intptr_t reserved_space) { | 1199 void SetupDartSP(intptr_t reserved_space) { |
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1705 Register value, | 1711 Register value, |
| 1706 Label* no_update); | 1712 Label* no_update); |
| 1707 | 1713 |
| 1708 DISALLOW_ALLOCATION(); | 1714 DISALLOW_ALLOCATION(); |
| 1709 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1715 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1710 }; | 1716 }; |
| 1711 | 1717 |
| 1712 } // namespace dart | 1718 } // namespace dart |
| 1713 | 1719 |
| 1714 #endif // VM_ASSEMBLER_ARM64_H_ | 1720 #endif // VM_ASSEMBLER_ARM64_H_ |
| OLD | NEW |