[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Jan 28 16:37:21 PST 2005



Changes in directory llvm/lib/Target/SparcV9:

SparcV9PreSelection.cpp updated: 1.41 -> 1.42
---
Log message:

add namespace qualifier


---
Diffs of the changes:  (+2 -1)

 SparcV9PreSelection.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp:1.41 llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp:1.42
--- llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp:1.41	Sat Oct 16 13:14:10 2004
+++ llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp	Fri Jan 28 18:36:38 2005
@@ -120,7 +120,8 @@
       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))






More information about the llvm-commits mailing list