Delete dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-11-03 18:55:58 +00:00
parent ca792d80c4
commit 49d691389e
4 changed files with 0 additions and 14 deletions

View File

@ -76,8 +76,6 @@ public:
void EmitValueToAlignment(unsigned, int64_t, unsigned, unsigned) override;
void Flush() override;
void FinishImpl() override;
void EmitBundleAlignMode(unsigned AlignPow2) override;

View File

@ -706,9 +706,6 @@ public:
/// the hasRawTextSupport() predicate. By default this aborts.
void EmitRawText(const Twine &String);
/// \brief Causes any cached state to be written out.
virtual void Flush() {}
/// \brief Streamer specific finalization.
virtual void FinishImpl();
/// \brief Finish emission of machine code.

View File

@ -1143,9 +1143,6 @@ bool AsmPrinter::doFinalization(Module &M) {
}
}
// Make sure we wrote out everything we need.
OutStreamer->Flush();
// Finalize debug and EH information.
for (const HandlerInfo &HI : Handlers) {
NamedRegionTimer T(HI.TimerName, HI.TimerGroupName,

View File

@ -630,10 +630,6 @@ void MCELFStreamer::EmitBundleUnlock() {
Sec.setBundleLockState(MCSection::NotBundleLocked);
}
void MCELFStreamer::Flush() {
}
void MCELFStreamer::FinishImpl() {
// Ensure the last section gets aligned if necessary.
MCSection *CurSection = getCurrentSectionOnly();
@ -641,8 +637,6 @@ void MCELFStreamer::FinishImpl() {
EmitFrames(nullptr);
Flush();
this->MCObjectStreamer::FinishImpl();
}