summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Value.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-21 19:47:03 +0000
committerChris Lattner <sabre@nondot.org>2008-06-21 19:47:03 +0000
commit106b046d836b2575662b64f5a117d1c558dd78cb (patch)
tree68ab50fbc80cd391940fc42f055e07941d9e5039 /llvm/lib/VMCore/Value.cpp
parent535b8304496e3156a86d4ddde1179bfad5cffdf0 (diff)
downloadbcm5719-llvm-106b046d836b2575662b64f5a117d1c558dd78cb.tar.gz
bcm5719-llvm-106b046d836b2575662b64f5a117d1c558dd78cb.zip
fix some warnings when assertions are disabled.
llvm-svn: 52587
Diffstat (limited to 'llvm/lib/VMCore/Value.cpp')
-rw-r--r--llvm/lib/VMCore/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index e581fe83807..5df3532769c 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/lib/VMCore/Value.cpp
@@ -264,7 +264,7 @@ void Value::takeName(Value *V) {
// Get V's ST, this should always succed, because V has a name.
ValueSymbolTable *VST;
bool Failure = getSymTab(V, VST);
- assert(!Failure && "V has a name, so it should have a ST!");
+ assert(!Failure && "V has a name, so it should have a ST!"); Failure=Failure;
// If these values are both in the same symtab, we can do this very fast.
// This works even if both values have no symtab yet.
OpenPOWER on IntegriCloud