[llvm-commits] [llvm] r106837 - /llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp

Gabor Greif ggreif at gmail.com
Fri Jun 25 02:44:37 PDT 2010


Author: ggreif
Date: Fri Jun 25 04:44:37 2010
New Revision: 106837

URL: http://llvm.org/viewvc/llvm-project?rev=106837&view=rev
Log:
use ArgOperand API (the simple part)

Modified:
    llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp

Modified: llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp?rev=106837&r1=106836&r2=106837&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp Fri Jun 25 04:44:37 2010
@@ -386,8 +386,8 @@
 
       // 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() -





More information about the llvm-commits mailing list