mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-07-07 17:00:37 +00:00
Fix unused method warning.
Review URL: https://breakpad.appspot.com/814002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1242 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
b91429acb0
commit
08ce8e35eb
|
@ -48,11 +48,13 @@ const uintptr_t kExpectedFinalSp = 0;
|
||||||
const int kExceptionType = EXC_SOFTWARE;
|
const int kExceptionType = EXC_SOFTWARE;
|
||||||
const int kExceptionCode = MD_EXCEPTION_CODE_MAC_NS_EXCEPTION;
|
const int kExceptionCode = MD_EXCEPTION_CODE_MAC_NS_EXCEPTION;
|
||||||
|
|
||||||
|
#if defined(HAS_ARM_SUPPORT) || defined(HAS_ARM64_SUPPORT)
|
||||||
// Append the given value to the sp position of the stack represented
|
// Append the given value to the sp position of the stack represented
|
||||||
// by memory.
|
// by memory.
|
||||||
void AppendToMemory(uint8_t *memory, uintptr_t sp, uintptr_t data) {
|
void AppendToMemory(uint8_t *memory, uintptr_t sp, uintptr_t data) {
|
||||||
memcpy(memory + sp, &data, sizeof(data));
|
memcpy(memory + sp, &data, sizeof(data));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue