mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 10:55:36 +00:00
Fixed "unused method" warning, reported by Xcode 4.2 on simulator.
Patch by tball@google.com Review URL: https://breakpad.appspot.com/371002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@948 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
c6485cb937
commit
a66d4b272a
|
@ -40,12 +40,14 @@ const uint32_t kExpectedFinalSp = 0;
|
|||
const int kExceptionType = EXC_SOFTWARE;
|
||||
const int kExceptionCode = MD_EXCEPTION_CODE_MAC_NS_EXCEPTION;
|
||||
|
||||
#ifdef HAS_ARM_SUPPORT
|
||||
// Append the given 4 bytes value to the sp position of the stack represented
|
||||
// by memory.
|
||||
void AppendToMemory(uint8_t *memory, uint32_t sp, uint32_t data) {
|
||||
assert(sizeof(data) == 4);
|
||||
memcpy(memory + sp, &data, sizeof(data));
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace
|
||||
|
||||
|
|
Loading…
Reference in a new issue