1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

MemorySanitizer.cpp: Suppress a warning. [-Wunused-variable]

llvm-svn: 169504
This commit is contained in:
NAKAMURA Takumi 2012-12-06 13:38:00 +00:00
parent 1ad21b4153
commit 8847f19308

View File

@ -411,6 +411,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
StoreInst *NewSI = IRB.CreateAlignedStore(Shadow, ShadowPtr, I.getAlignment());
DEBUG(dbgs() << " STORE: " << *NewSI << "\n");
(void)NewSI;
// If the store is volatile, add a check.
if (I.isVolatile())
insertCheck(Val, &I);