projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
144e271
)
SROA.cpp: Fix a warning, [-Wunused-variable]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 5 Oct 2012 13:56:23 +0000
(13:56 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 5 Oct 2012 13:56:23 +0000
(13:56 +0000)
llvm-svn: 165309
llvm/lib/Transforms/Scalar/SROA.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/SROA.cpp
b/llvm/lib/Transforms/Scalar/SROA.cpp
index
3a27d02
..
380555d
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/SROA.cpp
+++ b/
llvm/lib/Transforms/Scalar/SROA.cpp
@@
-710,6
+710,7
@@
private:
= MemTransferPartitionMap.insert(std::make_pair(&II, NewIdx)).second;
assert(Inserted &&
"Already have intrinsic in map but haven't seen both ends");
+ (void)Inserted;
}
return true;