[llvm-commits] CVS: llvm/lib/Target/X86/X86CodeEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 10 19:26:49 PDT 2004
Changes in directory llvm/lib/Target/X86:
X86CodeEmitter.cpp updated: 1.62 -> 1.63
---
Log message:
Remove dead method
---
Diffs of the changes: (+0 -13)
Index: llvm/lib/Target/X86/X86CodeEmitter.cpp
diff -u llvm/lib/Target/X86/X86CodeEmitter.cpp:1.62 llvm/lib/Target/X86/X86CodeEmitter.cpp:1.63
--- llvm/lib/Target/X86/X86CodeEmitter.cpp:1.62 Sat Jul 17 15:26:14 2004
+++ llvm/lib/Target/X86/X86CodeEmitter.cpp Tue Aug 10 21:26:39 2004
@@ -472,19 +472,6 @@
}
}
-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
More information about the llvm-commits
mailing list