diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 23:41:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 23:41:46 +0000 |
commit | aabc6041de259121447275edd50fc37b5031a8fe (patch) | |
tree | 0b7547b4a34a3fc4fdf6fedcb565f4560ba3f768 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | 794dd1db08df5d8d7cf0b18c25cbeb9e7bcb7de9 (diff) | |
download | bcm5719-llvm-aabc6041de259121447275edd50fc37b5031a8fe.tar.gz bcm5719-llvm-aabc6041de259121447275edd50fc37b5031a8fe.zip |
Move EmitFrameMoves into AsmPrinter.
llvm-svn: 100371
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index b29e675afaa..114dbc9b1f9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -151,7 +151,7 @@ void DwarfException::EmitCIE(const Function *PersonalityFn, unsigned Index) { // Indicate locations of general callee saved registers in frame. std::vector<MachineMove> Moves; RI->getInitialFrameState(Moves); - EmitFrameMoves(0, Moves, true); + Asm->EmitFrameMoves(Moves, 0, true); // On Darwin the linker honors the alignment of eh_frame, which means it must // be 8-byte on 64-bit targets to match what gcc does. Otherwise you get @@ -253,7 +253,7 @@ void DwarfException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) { } // Indicate locations of function specific callee saved registers in frame. - EmitFrameMoves(EHFuncBeginSym, EHFrameInfo.Moves, true); + Asm->EmitFrameMoves(EHFrameInfo.Moves, EHFuncBeginSym, true); // On Darwin the linker honors the alignment of eh_frame, which means it // must be 8-byte on 64-bit targets to match what gcc does. Otherwise you |