diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-10 03:14:15 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-10 03:14:15 +0000 |
| commit | b6089d6cac76bc143dc39e600181adc221647065 (patch) | |
| tree | 4faffbe82b29a601528814b4979026d2d92c0888 /llvm/lib/MC/MCMachOStreamer.cpp | |
| parent | 0e130d1d3746d7f20de9e9c2c589183322f653c8 (diff) | |
| download | bcm5719-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/MCMachOStreamer.cpp')
| -rw-r--r-- | llvm/lib/MC/MCMachOStreamer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp index 3da5b49f540..12aeb4f48fd 100644 --- a/llvm/lib/MC/MCMachOStreamer.cpp +++ b/llvm/lib/MC/MCMachOStreamer.cpp @@ -377,8 +377,7 @@ void MCMachOStreamer::EmitInstToData(const MCInst &Inst) { } void MCMachOStreamer::Finish() { - if (getNumFrameInfos()) - MCDwarfFrameEmitter::Emit(*this, true); + EmitFrames(true); // We have to set the fragment atom associations so we can relax properly for // Mach-O. |

