use CallSite::arg_end instead of CallInst::op_end

llvm-svn: 107276
This commit is contained in:
Gabor Greif 2010-06-30 12:39:23 +00:00
parent 3abd881bea
commit 3390e746fa
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) {
case Intrinsic::siglongjmp: {
// Insert the call to abort
ReplaceCallWith("abort", CI, CI->op_end(), CI->op_end(),
ReplaceCallWith("abort", CI, CS.arg_end(), CS.arg_end(),
Type::getVoidTy(Context));
break;
}