summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-05-10 03:14:15 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-05-10 03:14:15 +0000
commitb6089d6cac76bc143dc39e600181adc221647065 (patch)
tree4faffbe82b29a601528814b4979026d2d92c0888 /llvm/lib/MC/MCELFStreamer.cpp
parent0e130d1d3746d7f20de9e9c2c589183322f653c8 (diff)
downloadbcm5719-llvm-b6089d6cac76bc143dc39e600181adc221647065.tar.gz
bcm5719-llvm-b6089d6cac76bc143dc39e600181adc221647065.zip
Factor some code into a new EmitFrames method.
llvm-svn: 131119
Diffstat (limited to 'llvm/lib/MC/MCELFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index be8e2e3891f..7808e76203f 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/lib/MC/MCELFStreamer.cpp
@@ -345,8 +345,7 @@ void MCELFStreamer::EmitInstToData(const MCInst &Inst) {
}
void MCELFStreamer::Finish() {
- if (getNumFrameInfos())
- MCDwarfFrameEmitter::Emit(*this, true);
+ EmitFrames(true);
for (std::vector<LocalCommon>::const_iterator i = LocalCommons.begin(),
e = LocalCommons.end();
OpenPOWER on IntegriCloud