Remove a dead function, which died when we got GAS emission working (phwew,

hold your nose!)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17869 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-11-16 04:34:29 +00:00
parent f2d552eca6
commit 8f1ac9f90d
2 changed files with 0 additions and 16 deletions

View 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

View 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