summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-29 00:36:38 +0000
committerChris Lattner <sabre@nondot.org>2005-01-29 00:36:38 +0000
commit68afd89730791f8cdd4a24ddd80b6183ca20904c (patch)
tree6bbaa0fdafb05f7717f683fda29ed1f62cd0d71a
parent616b8fc6305f39e3814557c13ceb6b7c9cec0fb4 (diff)
downloadbcm5719-llvm-68afd89730791f8cdd4a24ddd80b6183ca20904c.tar.gz
bcm5719-llvm-68afd89730791f8cdd4a24ddd80b6183ca20904c.zip
add namespace qualifier
llvm-svn: 19895
-rw-r--r--llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp b/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
index fd1fdc329e1..3d1331b015e 100644
--- a/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
+++ b/llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
@@ -120,7 +120,8 @@ static Instruction* DecomposeConstantExpr(ConstantExpr* CE,
return new CastInst(getArg1, CE->getType(), "constantCast",&insertBefore);
case Instruction::GetElementPtr:
- assert(find_if(CE->op_begin()+1, CE->op_end(),nonConstant) == CE->op_end()
+ assert(std::find_if(CE->op_begin()+1, CE->op_end(),
+ nonConstant) == CE->op_end()
&& "All indices in ConstantExpr getelementptr must be constant!");
getArg1 = CE->getOperand(0);
if (ConstantExpr* CEarg = dyn_cast<ConstantExpr>(getArg1))
OpenPOWER on IntegriCloud