summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:10:28 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:10:28 +0000
commit035eaacd1fd5406ea248a0275f7ad8207da6db21 (patch)
tree768322fb631dba58e1583f0e43694b767cbf2c0d /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent579f07135afdc3975eb24a210433222b888dc9f7 (diff)
downloadbcm5719-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.cpp2
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;
}
OpenPOWER on IntegriCloud