summaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfEHPrepare.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-06-25 09:44:37 +0000
committerGabor Greif <ggreif@gmail.com>2010-06-25 09:44:37 +0000
commitc13055db267909518e758fd4f93f4dec1c23df29 (patch)
tree327d601bad4138289d30bef9bae7301e9debb9ec /lib/CodeGen/DwarfEHPrepare.cpp
parent0635f35114732cdb055ee38bad5f743e49729efa (diff)
downloadllvm-c13055db267909518e758fd4f93f4dec1c23df29.tar.gz
llvm-c13055db267909518e758fd4f93f4dec1c23df29.tar.bz2
llvm-c13055db267909518e758fd4f93f4dec1c23df29.tar.xz
use ArgOperand API (the simple part)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfEHPrepare.cpp')
-rw-r--r--lib/CodeGen/DwarfEHPrepare.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/DwarfEHPrepare.cpp b/lib/CodeGen/DwarfEHPrepare.cpp
index 651740d377..417215482f 100644
--- a/lib/CodeGen/DwarfEHPrepare.cpp
+++ b/lib/CodeGen/DwarfEHPrepare.cpp
@@ -386,8 +386,8 @@ bool DwarfEHPrepare::HandleURoRInvokes() {
// Use the exception object pointer and the personality function
// from the original selector.
- Args.push_back(II->getOperand(1)); // Exception object pointer.
- Args.push_back(II->getOperand(2)); // Personality function.
+ Args.push_back(II->getArgOperand(0)); // Exception object pointer.
+ Args.push_back(II->getArgOperand(1)); // Personality function.
unsigned I = 3;
unsigned E = II->getNumOperands() -