diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-11 02:26:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-11 02:26:39 +0000 |
commit | 916f96ace0840510fe50400b0f83beebf6c99752 (patch) | |
tree | d5984a43625620a4d456bdd3ecef9efd6ea43b6f /lib/Target/X86 | |
parent | 66fa1dcf9024fcb953a574394b0b7dd6320f6fe3 (diff) | |
download | external_llvm-916f96ace0840510fe50400b0f83beebf6c99752.zip external_llvm-916f96ace0840510fe50400b0f83beebf6c99752.tar.gz external_llvm-916f96ace0840510fe50400b0f83beebf6c99752.tar.bz2 |
Remove dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r-- | lib/Target/X86/X86CodeEmitter.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp index 18fe460..98e3bb4 100644 --- a/lib/Target/X86/X86CodeEmitter.cpp +++ b/lib/Target/X86/X86CodeEmitter.cpp @@ -472,19 +472,6 @@ static unsigned sizeOfImm(const TargetInstrDescriptor &Desc) { } } -static unsigned sizeOfPtr(const TargetInstrDescriptor &Desc) { - switch (Desc.TSFlags & X86II::MemMask) { - case X86II::Mem8: return 1; - case X86II::Mem16: return 2; - case X86II::Mem32: return 4; - case X86II::Mem64: return 8; - case X86II::Mem80: return 10; - case X86II::Mem128: return 16; - default: assert(0 && "Memory size not set!"); - return 0; - } -} - void Emitter::emitInstruction(const MachineInstr &MI) { NumEmitted++; // Keep track of the # of mi's emitted |