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 e315b7db00
commit bc12c24662

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;
}