summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4d9ada036ca1eb22c7fa964ff6c64e67c38e82f0 (patch)
treebff135e553812720a1a54a30a9e9f8f7d5d486b0 /llvm/lib/MC/MCELFStreamer.cpp
parent9948d5eb6fff0fba64e233199305715ee3ce2ac1 (diff)
downloadbcm5719-llvm-4d9ada036ca1eb22c7fa964ff6c64e67c38e82f0.tar.gz
bcm5719-llvm-4d9ada036ca1eb22c7fa964ff6c64e67c38e82f0.zip
Renamed MCInstFragment to MCRelaxableFragment and added some comments.
No change in functionality. llvm-svn: 171822
Diffstat (limited to 'llvm/lib/MC/MCELFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index e9afff6bed4..b08fa41cb16 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud