aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-01-08 00:22:56 +0000
committerEli Bendersky <eliben@google.com>2013-01-08 00:22:56 +0000
commit251040bc18eedfa56d01fe92836e55cfd8c5d990 (patch)
tree6f73c5f3ba5f4abf09382d8f211d61c94664bf1e /lib/MC/MCELFStreamer.cpp
parent72a81be37452983f9960a376c19682034ef7db35 (diff)
downloadexternal_llvm-251040bc18eedfa56d01fe92836e55cfd8c5d990.zip
external_llvm-251040bc18eedfa56d01fe92836e55cfd8c5d990.tar.gz
external_llvm-251040bc18eedfa56d01fe92836e55cfd8c5d990.tar.bz2
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/MCELFStreamer.cpp')
-rw-r--r--lib/MC/MCELFStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCELFStreamer.cpp b/lib/MC/MCELFStreamer.cpp
index e9afff6..b08fa41 100644
--- a/lib/MC/MCELFStreamer.cpp
+++ b/lib/MC/MCELFStreamer.cpp
@@ -343,7 +343,7 @@ void MCELFStreamer::fixSymbolsInTLSFixups(const MCExpr *expr) {
void MCELFStreamer::EmitInstToFragment(const MCInst &Inst) {
this->MCObjectStreamer::EmitInstToFragment(Inst);
- MCInstFragment &F = *cast<MCInstFragment>(getCurrentFragment());
+ MCRelaxableFragment &F = *cast<MCRelaxableFragment>(getCurrentFragment());
for (unsigned i = 0, e = F.getFixups().size(); i != e; ++i)
fixSymbolsInTLSFixups(F.getFixups()[i].getValue());