mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
add namespace qualifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cad28bd3a0
commit
3d80f90394
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user