diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2010-11-18 23:25:52 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2010-11-18 23:25:52 +0000 |
| commit | 14ee344944cad9a61ff15e113c27df093d851ff1 (patch) | |
| tree | f6888cee9de9a226327cf8a1952493116cd282fb /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
| parent | a391c97bd0032c0b5af03cde95f7c40683c02be8 (diff) | |
| download | bcm5719-llvm-14ee344944cad9a61ff15e113c27df093d851ff1.tar.gz bcm5719-llvm-14ee344944cad9a61ff15e113c27df093d851ff1.zip | |
Move getInitialFrameState() to TargetFrameInfo
llvm-svn: 119754
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index 86a368831e0..e3a8cde9aac 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -127,6 +127,7 @@ void DwarfException::EmitCIE(const Function *PersonalityFn, unsigned Index) { Asm->OutStreamer.AddComment("CIE Return Address Column"); const TargetRegisterInfo *RI = Asm->TM.getRegisterInfo(); + const TargetFrameInfo *TFI = Asm->TM.getFrameInfo(); Asm->EmitInt8(RI->getDwarfRegNum(RI->getRARegister(), true)); if (Augmentation[0]) { @@ -146,7 +147,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); + TFI->getInitialFrameState(Moves); Asm->EmitFrameMoves(Moves, 0, true); // On Darwin the linker honors the alignment of eh_frame, which means it must |

