From dc62ea0f1c6eb0673f39c543f1936ce125efdb30 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 16 Sep 2009 06:25:03 +0000 Subject: move FnStubs/GVSTubs/HiddenGVStub handling out of the X86 asmprinter and use MachineModuleInfoMachO instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82022 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineModuleInfoImpls.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/llvm/CodeGen/MachineModuleInfoImpls.h') diff --git a/include/llvm/CodeGen/MachineModuleInfoImpls.h b/include/llvm/CodeGen/MachineModuleInfoImpls.h index 492c016fd6..44813cbdcd 100644 --- a/include/llvm/CodeGen/MachineModuleInfoImpls.h +++ b/include/llvm/CodeGen/MachineModuleInfoImpls.h @@ -38,18 +38,19 @@ namespace llvm { virtual void Anchor(); // Out of line virtual method. public: + MachineModuleInfoMachO(const MachineModuleInfo &) {} const MCSymbol *&getFnStubEntry(const MCSymbol *Sym) { assert(Sym && "Key cannot be null"); return FnStubs[Sym]; } - const MCSymbol *&getGVStubsEntry(const MCSymbol *Sym) { + const MCSymbol *&getGVStubEntry(const MCSymbol *Sym) { assert(Sym && "Key cannot be null"); return GVStubs[Sym]; } - const MCSymbol *&getHiddenGVStubsEntry(const MCSymbol *Sym) { + const MCSymbol *&getHiddenGVStubEntry(const MCSymbol *Sym) { assert(Sym && "Key cannot be null"); return HiddenGVStubs[Sym]; } -- cgit v1.2.3-70-g09d2