commit | 43e2a035309f4e353a8bd5547d10125414597e74 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Tue May 27 11:50:51 2008 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Tue May 27 11:50:51 2008 +0000 |
tree | fcf9eed2be7db5aa70cd9cc9b50875cc774c5c2a | |
parent | 3d8710e80acf496657feb092a79d226913742593 [diff] [blame] |
Fix some constructs that gcc-4.4 warns about. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51591 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index ff505f2..44c72b6 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -2986,7 +2986,7 @@ } bool Indexed = AM != ISD::UNINDEXED; - assert(Indexed || Offset.getOpcode() == ISD::UNDEF && + assert((Indexed || Offset.getOpcode() == ISD::UNDEF) && "Unindexed load with an offset!"); SDVTList VTs = Indexed ?