summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCObjectStreamer.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-02 05:44:06 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-02 05:44:06 +0000
commitdedb045c3296c831962c4ae101531c38c273ba89 (patch)
treed2e79615a7075aa7744d122425f357c7fa169bf8 /include/llvm/MC/MCObjectStreamer.h
parent7fcd4dcb98d2e2bec231e713aefd2cacc879dd33 (diff)
downloadllvm-dedb045c3296c831962c4ae101531c38c273ba89.tar.gz
llvm-dedb045c3296c831962c4ae101531c38c273ba89.tar.bz2
llvm-dedb045c3296c831962c4ae101531c38c273ba89.tar.xz
Add EmitInstToFragment to the generic object streamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCObjectStreamer.h')
-rw-r--r--include/llvm/MC/MCObjectStreamer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCObjectStreamer.h b/include/llvm/MC/MCObjectStreamer.h
index 9197ed3fc6..f5ee41aed1 100644
--- a/include/llvm/MC/MCObjectStreamer.h
+++ b/include/llvm/MC/MCObjectStreamer.h
@@ -33,7 +33,6 @@ class MCObjectStreamer : public MCStreamer {
MCAssembler *Assembler;
MCSectionData *CurSectionData;
- virtual void EmitInstToFragment(const MCInst &Inst) = 0;
virtual void EmitInstToData(const MCInst &Inst) = 0;
protected:
@@ -67,6 +66,7 @@ public:
virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol);
virtual void SwitchSection(const MCSection *Section);
virtual void EmitInstruction(const MCInst &Inst);
+ virtual void EmitInstToFragment(const MCInst &Inst);
virtual void Finish();
/// @}