[llvm] r213710 - RuntimeDyldMachOAArch64.h: Fix a warning. [-Wunused-variable]
NAKAMURA Takumi
geek4civic at gmail.com
Tue Jul 22 17:17:44 PDT 2014
Author: chapuni
Date: Tue Jul 22 19:17:44 2014
New Revision: 213710
URL: http://llvm.org/viewvc/llvm-project?rev=213710&view=rev
Log:
RuntimeDyldMachOAArch64.h: Fix a warning. [-Wunused-variable]
Modified:
llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h?rev=213710&r1=213709&r2=213710&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h Tue Jul 22 19:17:44 2014
@@ -176,6 +176,7 @@ public:
uint32_t *p = (uint32_t *)LocalAddress;
assert((*p & 0x3B000000) == 0x39000000 &&
"Only expected load / store instructions.");
+ (void)p;
} // fall-through
case MachO::ARM64_RELOC_PAGEOFF12: {
// Verify that the relocation points to one of the expected load / store
More information about the llvm-commits
mailing list