diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-06-25 09:44:37 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-06-25 09:44:37 +0000 |
commit | c13055db267909518e758fd4f93f4dec1c23df29 (patch) | |
tree | 327d601bad4138289d30bef9bae7301e9debb9ec /lib/CodeGen | |
parent | 0635f35114732cdb055ee38bad5f743e49729efa (diff) | |
download | external_llvm-c13055db267909518e758fd4f93f4dec1c23df29.zip external_llvm-c13055db267909518e758fd4f93f4dec1c23df29.tar.gz external_llvm-c13055db267909518e758fd4f93f4dec1c23df29.tar.bz2 |
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')
-rw-r--r-- | lib/CodeGen/DwarfEHPrepare.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/DwarfEHPrepare.cpp b/lib/CodeGen/DwarfEHPrepare.cpp index 651740d..4172154 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() - |