projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cad28bd
)
add namespace qualifier
author
Chris Lattner
<sabre@nondot.org>
Sat, 29 Jan 2005 00:36:38 +0000
(
00:36
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 29 Jan 2005 00:36:38 +0000
(
00:36
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19895
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/SparcV9PreSelection.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9PreSelection.cpp
b/lib/Target/SparcV9/SparcV9PreSelection.cpp
index fd1fdc329e1436e05a34c6b1353baaca1003ce8d..3d1331b015e22daa18705f60c49a926728eda27f 100644
(file)
--- a/
lib/Target/SparcV9/SparcV9PreSelection.cpp
+++ b/
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))