summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ShadowStackGC.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-04-20 13:13:04 +0000
committerGabor Greif <ggreif@gmail.com>2010-04-20 13:13:04 +0000
commit27b3d55194ee3f8484efd3cec98576521e251d34 (patch)
treee433d36b1a2a8dfdd7348d76fa33b335edfc62a5 /llvm/lib/CodeGen/ShadowStackGC.cpp
parent395857705f3207f08406632169af1b93edee1716 (diff)
downloadbcm5719-llvm-27b3d55194ee3f8484efd3cec98576521e251d34.tar.gz
bcm5719-llvm-27b3d55194ee3f8484efd3cec98576521e251d34.zip
use abstract accessors to CallInst
llvm-svn: 101899
Diffstat (limited to 'llvm/lib/CodeGen/ShadowStackGC.cpp')
-rw-r--r--llvm/lib/CodeGen/ShadowStackGC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ShadowStackGC.cpp b/llvm/lib/CodeGen/ShadowStackGC.cpp
index 0e6d4796e22..5240bef5a5f 100644
--- a/llvm/lib/CodeGen/ShadowStackGC.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud