| 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 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1206 void Branch(const StubEntry& stub_entry, | 1206 void Branch(const StubEntry& stub_entry, |
| 1207 Register pp, | 1207 Register pp, |
| 1208 Patchability patchable = kNotPatchable); | 1208 Patchability patchable = kNotPatchable); |
| 1209 void BranchPatchable(const StubEntry& stub_entry); | 1209 void BranchPatchable(const StubEntry& stub_entry); |
| 1210 | 1210 |
| 1211 void BranchLink(const StubEntry& stub_entry, | 1211 void BranchLink(const StubEntry& stub_entry, |
| 1212 Patchability patchable = kNotPatchable); | 1212 Patchability patchable = kNotPatchable); |
| 1213 | 1213 |
| 1214 void BranchLinkPatchable(const StubEntry& stub_entry); | 1214 void BranchLinkPatchable(const StubEntry& stub_entry); |
| 1215 | 1215 |
| 1216 // Emit a call that shares its object pool entries with other calls |
| 1217 // that have the same equivalence marker. |
| 1218 void BranchLinkWithEquivalence(const StubEntry& stub_entry, |
| 1219 const Object& equivalence); |
| 1220 |
| 1216 // Macros accepting a pp Register argument may attempt to load values from | 1221 // Macros accepting a pp Register argument may attempt to load values from |
| 1217 // the object pool when possible. Unless you are sure that the untagged object | 1222 // the object pool when possible. Unless you are sure that the untagged object |
| 1218 // pool pointer is in another register, or that it is not available at all, | 1223 // pool pointer is in another register, or that it is not available at all, |
| 1219 // PP should be passed for pp. | 1224 // PP should be passed for pp. |
| 1220 void AddImmediate(Register dest, Register rn, int64_t imm); | 1225 void AddImmediate(Register dest, Register rn, int64_t imm); |
| 1221 void AddImmediateSetFlags(Register dest, Register rn, int64_t imm); | 1226 void AddImmediateSetFlags(Register dest, Register rn, int64_t imm); |
| 1222 void SubImmediateSetFlags(Register dest, Register rn, int64_t imm); | 1227 void SubImmediateSetFlags(Register dest, Register rn, int64_t imm); |
| 1223 void AndImmediate(Register rd, Register rn, int64_t imm); | 1228 void AndImmediate(Register rd, Register rn, int64_t imm); |
| 1224 void OrImmediate(Register rd, Register rn, int64_t imm); | 1229 void OrImmediate(Register rd, Register rn, int64_t imm); |
| 1225 void XorImmediate(Register rd, Register rn, int64_t imm); | 1230 void XorImmediate(Register rd, Register rn, int64_t imm); |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1927 Register value, | 1932 Register value, |
| 1928 Label* no_update); | 1933 Label* no_update); |
| 1929 | 1934 |
| 1930 DISALLOW_ALLOCATION(); | 1935 DISALLOW_ALLOCATION(); |
| 1931 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1936 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1932 }; | 1937 }; |
| 1933 | 1938 |
| 1934 } // namespace dart | 1939 } // namespace dart |
| 1935 | 1940 |
| 1936 #endif // VM_ASSEMBLER_ARM64_H_ | 1941 #endif // VM_ASSEMBLER_ARM64_H_ |
| OLD | NEW |