mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-06 01:27:08 +00:00
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:
parent
ca792d80c4
commit
49d691389e
@ -76,8 +76,6 @@ public:
|
||||
|
||||
void EmitValueToAlignment(unsigned, int64_t, unsigned, unsigned) override;
|
||||
|
||||
void Flush() override;
|
||||
|
||||
void FinishImpl() override;
|
||||
|
||||
void EmitBundleAlignMode(unsigned AlignPow2) override;
|
||||
|
@ -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.
|
||||
|
@ -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,
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user