diff options
author | Eli Bendersky <eliben@google.com> | 2013-01-08 00:22:56 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-01-08 00:22:56 +0000 |
commit | 251040bc18eedfa56d01fe92836e55cfd8c5d990 (patch) | |
tree | 6f73c5f3ba5f4abf09382d8f211d61c94664bf1e /lib/MC/MCObjectStreamer.cpp | |
parent | 72a81be37452983f9960a376c19682034ef7db35 (diff) |
Renamed MCInstFragment to MCRelaxableFragment and added some comments.
No change in functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCObjectStreamer.cpp')
-rw-r--r-- | lib/MC/MCObjectStreamer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCObjectStreamer.cpp b/lib/MC/MCObjectStreamer.cpp index a848615cb7..d205a8c8b5 100644 --- a/lib/MC/MCObjectStreamer.cpp +++ b/lib/MC/MCObjectStreamer.cpp @@ -217,7 +217,8 @@ void MCObjectStreamer::EmitInstruction(const MCInst &Inst) { void MCObjectStreamer::EmitInstToFragment(const MCInst &Inst) { // Always create a new, separate fragment here, because its size can change // during relaxation. - MCInstFragment *IF = new MCInstFragment(Inst, getCurrentSectionData()); + MCRelaxableFragment *IF = + new MCRelaxableFragment(Inst, getCurrentSectionData()); SmallString<128> Code; raw_svector_ostream VecOS(Code); |