Remove a dead function, which died when we got GAS emission working (phwew,
authorChris Lattner <sabre@nondot.org>
Tue, 16 Nov 2004 04:34:29 +0000 (04:34 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Nov 2004 04:34:29 +0000 (04:34 +0000)
hold your nose!)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17869 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86CodeEmitter.cpp
lib/Target/X86/X86TargetMachine.h

index 853e6c12cdfea321a6f20e4be6ac3fe763bf0f11..eaa15419a8ac5ec391c556c2190b6253c7a6c67d 100644 (file)
@@ -221,14 +221,6 @@ namespace {
   };
 }
 
-// This function is required by X86AsmPrinter.cpp to work around GAS bugs
-void llvm::X86::emitInstruction(MachineCodeEmitter& mce,
-                                const X86InstrInfo& ii,
-                                const MachineInstr& mi)
-{
-    Emitter(mce, ii).emitInstruction(mi);
-}
-
 /// addPassesToEmitMachineCode - Add passes to the specified pass manager to get
 /// machine code emitted.  This uses a MachineCodeEmitter object to handle
 /// actually outputting the machine code and resolving things like the address
index 717fdee0011c960986fe27656e1d7838a026310d..2c25daad3f2739c4499c6d4b2374a2e7016c0ae9 100644 (file)
@@ -51,14 +51,6 @@ public:
   static unsigned getModuleMatchQuality(const Module &M);
   static unsigned getJITMatchQuality();
 };
-
-  // this is implemented in X86CodeEmitter.cpp
-  namespace X86 {
-    void emitInstruction(MachineCodeEmitter& mce,
-                         const X86InstrInfo& ii,
-                         const MachineInstr& MI);
-  }
-
 } // End llvm namespace
 
 #endif