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 | 035eaacd1fd5406ea248a0275f7ad8207da6db21 (patch) | |
tree | 768322fb631dba58e1583f0e43694b767cbf2c0d /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 579f07135afdc3975eb24a210433222b888dc9f7 (diff) | |
download | bcm5719-llvm-035eaacd1fd5406ea248a0275f7ad8207da6db21.tar.gz bcm5719-llvm-035eaacd1fd5406ea248a0275f7ad8207da6db21.zip |
Update gcc 4.3 warnings fix patch with recent head changes
llvm-svn: 47368
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1ee93d7bba1..001c9f6c533 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/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; } |