diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-18 22:29:13 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-18 22:29:13 +0000 |
commit | 67c033e6b8c935f28b22c1d79cc12d883d61e04d (patch) | |
tree | a1a6105b9e7270e69985aa268a95e774171f5cc5 /llvm/lib/MC/MCDwarf.cpp | |
parent | 11de9a966a34a7a50611c3179885fefe2c83e6b2 (diff) | |
download | bcm5719-llvm-67c033e6b8c935f28b22c1d79cc12d883d61e04d.tar.gz bcm5719-llvm-67c033e6b8c935f28b22c1d79cc12d883d61e04d.zip |
Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions for
better location welcome).
llvm-svn: 135438
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r-- | llvm/lib/MC/MCDwarf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp index 2aab4a3e78b..aba470e17cc 100644 --- a/llvm/lib/MC/MCDwarf.cpp +++ b/llvm/lib/MC/MCDwarf.cpp @@ -865,7 +865,8 @@ const MCSymbol &FrameEmitterImpl::EmitCIE(MCStreamer &streamer, // Initial Instructions - const std::vector<MachineMove> &Moves = TAI.getInitialFrameState(); + const MCAsmInfo &MAI = context.getAsmInfo(); + const std::vector<MachineMove> &Moves = MAI.getInitialFrameState(); std::vector<MCCFIInstruction> Instructions; for (int i = 0, n = Moves.size(); i != n; ++i) { |