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:
parent
1ad21b4153
commit
8847f19308
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user