summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commit7dd3afdff38861aafcca69c73e45b8756924d605 (patch)
tree7e5fab9b1a9612d74531b02d5f2c314850d16d14 /llvm/lib/CodeGen
parenteba0be7dc90c550592d7636991e626fd99bcbce8 (diff)
downloadbcm5719-llvm-7dd3afdff38861aafcca69c73e45b8756924d605.tar.gz
bcm5719-llvm-7dd3afdff38861aafcca69c73e45b8756924d605.zip
use ArgOperand API (the simple part)
llvm-svn: 106837
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/DwarfEHPrepare.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/DwarfEHPrepare.cpp b/llvm/lib/CodeGen/DwarfEHPrepare.cpp
index 651740d377f..417215482f9 100644
--- a/llvm/lib/CodeGen/DwarfEHPrepare.cpp
+++ b/llvm/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() -
OpenPOWER on IntegriCloud