From ea4a8dae83f786a8a2ad5102dec880b857e76038 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 23 Jul 2014 00:17:44 +0000 Subject: RuntimeDyldMachOAArch64.h: Fix a warning. [-Wunused-variable] llvm-svn: 213710 --- llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/ExecutionEngine') diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h b/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h index b833bbd0abc..11b6a1392c0 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h @@ -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 -- cgit v1.2.3