diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-20 11:10:28 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-20 11:10:28 +0000 |
commit | 4c71dfe356716e6bc1993ef5efdced08b68fe612 (patch) | |
tree | b5ac49f6a963232367d6456a5bec7e7e5d5f1129 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | ae9f3a3b7c915f725aef5a7250e88eaeddda03c6 (diff) |
Update gcc 4.3 warnings fix patch with recent head changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1ee93d7bba..001c9f6c53 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -2602,7 +2602,7 @@ void SelectionDAGLowering::visitTargetIntrinsic(CallInst &I, static GlobalVariable *ExtractTypeInfo (Value *V) { V = IntrinsicInst::StripPointerCasts(V); GlobalVariable *GV = dyn_cast<GlobalVariable>(V); - assert (GV || isa<ConstantPointerNull>(V) && + assert ((GV || isa<ConstantPointerNull>(V)) && "TypeInfo must be a global variable or NULL"); return GV; } |