diff --git a/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h b/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h index 7043ba36f42..b833bbd0abc 100644 --- a/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h +++ b/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h @@ -84,6 +84,7 @@ public: // Verify that the relocation points to one of the expected load / store // instructions. uint32_t *p = (uint32_t *)LocalAddress; + (void)p; assert((*p & 0x3B000000) == 0x39000000 && "Only expected load / store instructions."); } // fall-through