use ArgOperand API (the simple part)

llvm-svn: 106837
This commit is contained in:
Gabor Greif 2010-06-25 09:44:37 +00:00
parent eba0be7dc9
commit 7dd3afdff3
1 changed files with 2 additions and 2 deletions

View File

@ -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() -