diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-04-20 13:13:04 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-04-20 13:13:04 +0000 |
commit | a9b2313c13a1bc8cbae751da03a9049ecaf0f918 (patch) | |
tree | 895ed8b93f57ef75218817252e859225e970c4b8 /lib/CodeGen/ShadowStackGC.cpp | |
parent | eb1f4b1899fdbb95807c3dcaa5f03f5129c4a156 (diff) | |
download | llvm-a9b2313c13a1bc8cbae751da03a9049ecaf0f918.tar.gz llvm-a9b2313c13a1bc8cbae751da03a9049ecaf0f918.tar.bz2 llvm-a9b2313c13a1bc8cbae751da03a9049ecaf0f918.tar.xz |
use abstract accessors to CallInst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ShadowStackGC.cpp')
-rw-r--r-- | lib/CodeGen/ShadowStackGC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/ShadowStackGC.cpp b/lib/CodeGen/ShadowStackGC.cpp index 0e6d4796e2..5240bef5a5 100644 --- a/lib/CodeGen/ShadowStackGC.cpp +++ b/lib/CodeGen/ShadowStackGC.cpp @@ -160,7 +160,7 @@ namespace { Args.clear(); Args.append(CI->op_begin() + 1, CI->op_end()); - InvokeInst *II = InvokeInst::Create(CI->getOperand(0), + InvokeInst *II = InvokeInst::Create(CI->getCalledValue(), NewBB, CleanupBB, Args.begin(), Args.end(), CI->getName(), CallBB); |