diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2018-08-27 15:54:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-27 15:54:05 +0200 |
| commit | 25898cfa55e26b5ebc5cf307e47cfaf8896cfc74 (patch) | |
| tree | 15a09154badf39ba85ec49e6af6aca190b53c566 /Source/Core/Common/Arm64Emitter.cpp | |
| parent | 6a22f1b3e0a9208a327c745aecd22be6cc327f73 (diff) | |
| parent | 208be26bb4290adbfc1f799f0c3ca6e95cd7d734 (diff) | |
Merge pull request #7368 from lioncash/const-cast
Arm64Emitter: Make the Align* functions return a non-const data pointer
Diffstat (limited to 'Source/Core/Common/Arm64Emitter.cpp')
| -rw-r--r-- | Source/Core/Common/Arm64Emitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Arm64Emitter.cpp b/Source/Core/Common/Arm64Emitter.cpp index 124ae218a2..2864b2fc38 100644 --- a/Source/Core/Common/Arm64Emitter.cpp +++ b/Source/Core/Common/Arm64Emitter.cpp @@ -328,7 +328,7 @@ void ARM64XEmitter::ReserveCodeSpace(u32 bytes) BRK(0); } -const u8* ARM64XEmitter::AlignCode16() +u8* ARM64XEmitter::AlignCode16() { int c = int((u64)m_code & 15); if (c) @@ -336,7 +336,7 @@ const u8* ARM64XEmitter::AlignCode16() return m_code; } -const u8* ARM64XEmitter::AlignCodePage() +u8* ARM64XEmitter::AlignCodePage() { int c = int((u64)m_code & 4095); if (c) |
