[llvm-branch-commits] [llvm-branch] r101391 - /llvm/branches/ggreif/CallInst-operands/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp

Gabor Greif ggreif at gmail.com
Thu Apr 15 13:20:11 PDT 2010


Author: ggreif
Date: Thu Apr 15 15:20:11 2010
New Revision: 101391

URL: http://llvm.org/viewvc/llvm-project?rev=101391&view=rev
Log:
I messed this up, corrected

Modified:
    llvm/branches/ggreif/CallInst-operands/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp

Modified: llvm/branches/ggreif/CallInst-operands/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/CallInst-operands/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp?rev=101391&r1=101390&r2=101391&view=diff
==============================================================================
--- llvm/branches/ggreif/CallInst-operands/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp (original)
+++ llvm/branches/ggreif/CallInst-operands/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp Thu Apr 15 15:20:11 2010
@@ -352,7 +352,7 @@
 
   if (N > 2) {
     TyInfo.reserve(N - 2);
-    for (unsigned j = 2; j < N - 1; ++j)
+    for (unsigned j = 2; j < N; ++j)
       TyInfo.push_back(ExtractTypeInfo(I.getOperand(j)));
     MMI->addCatchTypeInfo(MBB, TyInfo);
   }





More information about the llvm-branch-commits mailing list