aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/CBackend/CBackend.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:22:39 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:22:39 +0000
commit7c1c261272b43f2a9397c3052819b92c53918075 (patch)
tree650146d45463c89eddd4e9be73a224d638b880dd /lib/Target/CBackend/CBackend.cpp
parent4c71dfe356716e6bc1993ef5efdced08b68fe612 (diff)
Remove bunch of gcc 4.3-related warnings from Target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
-rw-r--r--lib/Target/CBackend/CBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp
index d01c2ab74a..305c8de374 100644
--- a/lib/Target/CBackend/CBackend.cpp
+++ b/lib/Target/CBackend/CBackend.cpp
@@ -2912,7 +2912,7 @@ void CWriter::printIndexingExpression(Value *Ptr, gep_type_iterator I,
HasImplicitAddress = false; // HIA is only true if we haven't addressed yet
}
- assert(!HasImplicitAddress || (CI && CI->isNullValue()) &&
+ assert((!HasImplicitAddress || (CI && CI->isNullValue())) &&
"Can only have implicit address with direct accessing");
if (HasImplicitAddress) {