OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb1b725
)
Add a use of an otherwise unused variable to remove a warning in non-Asserts
author
Cameron Zwarich
<zwarich@apple.com>
Sun, 24 Feb 2013 01:26:05 +0000
(
01:26
+0000)
committer
Cameron Zwarich
<zwarich@apple.com>
Sun, 24 Feb 2013 01:26:05 +0000
(
01:26
+0000)
builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175981
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TwoAddressInstructionPass.cpp
b/lib/CodeGen/TwoAddressInstructionPass.cpp
index
fe7a7d7
..
26c5fe4
100644
(file)
--- a/
lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/
lib/CodeGen/TwoAddressInstructionPass.cpp
@@
-1220,6
+1220,7
@@
tryInstructionTransform(MachineBasicBlock::iterator &mi,
MachineBasicBlock::iterator NewMI = NewMIs[1];
bool TransformResult =
tryInstructionTransform(NewMI, mi, NewSrcIdx, NewDstIdx, Dist, true);
+ (void)TransformResult;
assert(!TransformResult &&
"tryInstructionTransform() should return false.");
if (NewMIs[1]->getOperand(NewSrcIdx).isKill()) {