aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-18 22:29:13 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-18 22:29:13 +0000
commit2d28617de2b0b731c08d1af9e830f31e14ac75b4 (patch)
treee93a2a8c00c44b718f86a24da5044756f3abccc3 /lib/MC/MCDwarf.cpp
parent91614aec48ae01452422faf0cf6a6770d6b2166c (diff)
downloadexternal_llvm-2d28617de2b0b731c08d1af9e830f31e14ac75b4.zip
external_llvm-2d28617de2b0b731c08d1af9e830f31e14ac75b4.tar.gz
external_llvm-2d28617de2b0b731c08d1af9e830f31e14ac75b4.tar.bz2
Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions for
better location welcome). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCDwarf.cpp')
-rw-r--r--lib/MC/MCDwarf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCDwarf.cpp b/lib/MC/MCDwarf.cpp
index 2aab4a3..aba470e 100644
--- a/lib/MC/MCDwarf.cpp
+++ b/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) {