[llvm-branch-commits] [llvm-branch] r136175 - /llvm/branches/exception-handling-rewrite/lib/VMCore/Instructions.cpp
Bill Wendling
isanbard at gmail.com
Tue Jul 26 16:09:39 PDT 2011
Author: void
Date: Tue Jul 26 18:09:38 2011
New Revision: 136175
URL: http://llvm.org/viewvc/llvm-project?rev=136175&view=rev
Log:
Make sure to copy over all of the information in the LandingPadInst.
Modified:
llvm/branches/exception-handling-rewrite/lib/VMCore/Instructions.cpp
Modified: llvm/branches/exception-handling-rewrite/lib/VMCore/Instructions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/exception-handling-rewrite/lib/VMCore/Instructions.cpp?rev=136175&r1=136174&r2=136175&view=diff
==============================================================================
--- llvm/branches/exception-handling-rewrite/lib/VMCore/Instructions.cpp (original)
+++ llvm/branches/exception-handling-rewrite/lib/VMCore/Instructions.cpp Tue Jul 26 18:09:38 2011
@@ -187,6 +187,11 @@
for (unsigned I = 0, E = ReservedSpace; I != E; ++I)
OL[I] = InOL[I];
+ for (SmallVectorImpl<ClauseType>::const_iterator
+ I = LP.ClauseIdxs.begin(), E = LP.ClauseIdxs.end(); I != E; ++I)
+ ClauseIdxs.push_back(*I);
+
+ IsCleanup = LP.IsCleanup;
SubclassOptionalData = LP.SubclassOptionalData;
}
More information about the llvm-branch-commits
mailing list