From 3390e746fae14c099a096340e3446fdfb5a61ece Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Wed, 30 Jun 2010 12:39:23 +0000 Subject: [PATCH] use CallSite::arg_end instead of CallInst::op_end llvm-svn: 107276 --- llvm/lib/CodeGen/IntrinsicLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp index b5951f1a0875..03ae214ae7da 100644 --- a/llvm/lib/CodeGen/IntrinsicLowering.cpp +++ b/llvm/lib/CodeGen/IntrinsicLowering.cpp @@ -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; }