summaryrefslogtreecommitdiff
path: root/lib/CodeGen/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-06-30 12:39:23 +0000
committerGabor Greif <ggreif@gmail.com>2010-06-30 12:39:23 +0000
commitd0fcab915441c0748667ef981ef85989abd28b11 (patch)
treef824b78e61190e025958f5b31882340e930e9600 /lib/CodeGen/IntrinsicLowering.cpp
parent2458513430afa287da17c326f7d0b9d852f8183d (diff)
downloadllvm-d0fcab915441c0748667ef981ef85989abd28b11.tar.gz
llvm-d0fcab915441c0748667ef981ef85989abd28b11.tar.bz2
llvm-d0fcab915441c0748667ef981ef85989abd28b11.tar.xz
use CallSite::arg_end instead of CallInst::op_end
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp
index b5951f1a08..03ae214ae7 100644
--- a/lib/CodeGen/IntrinsicLowering.cpp
+++ b/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;
}