Add a frame with the compact unwind encoding if it exists.

llvm-svn: 135450
This commit is contained in:
Bill Wendling 2011-07-19 00:02:51 +00:00
parent c438d78c38
commit b20453faae
1 changed files with 3 additions and 0 deletions

View File

@ -620,6 +620,9 @@ void AsmPrinter::emitPrologLabel(const MachineInstr &MI) {
if (needsCFIMoves() == CFI_M_None)
return;
if (MMI->getCompactUnwindEncoding() != 0)
OutStreamer.EmitCompactUnwindEncoding(MMI->getCompactUnwindEncoding());
MachineModuleInfo &MMI = MF->getMMI();
std::vector<MachineMove> &Moves = MMI.getFrameMoves();
bool FoundOne = false;