Remove setting the bit for personality function. It should be set by the linker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135236 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2011-07-15 01:42:32 +00:00
parent 4afa2b842b
commit 833ce06c8f

View File

@ -722,9 +722,6 @@ bool FrameEmitterImpl::EmitCompactUnwind(MCStreamer &Streamer,
getDataAlignmentFactor(Streamer), IsEH);
if (!Encoding) return false;
// The encoding needs to know we have a personality function.
if (Frame.Personality)
Encoding |= 0x10000000;
// The encoding needs to know we have an LSDA.
if (Frame.Lsda)
Encoding |= 0x40000000;