[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.h

Chris Lattner lattner at cs.uiuc.edu
Sat Dec 28 14:30:01 PST 2002


Changes in directory llvm/lib/Target/X86:

X86InstrInfo.h updated: 1.18 -> 1.19

---
Log message:

* Remove implementations of previously pure virtual functions that are not any longer.



---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86InstrInfo.h
diff -u llvm/lib/Target/X86/X86InstrInfo.h:1.18 llvm/lib/Target/X86/X86InstrInfo.h:1.19
--- llvm/lib/Target/X86/X86InstrInfo.h:1.18	Tue Dec 24 23:09:59 2002
+++ llvm/lib/Target/X86/X86InstrInfo.h	Sat Dec 28 14:29:41 2002
@@ -129,55 +129,6 @@
   // specified opcode number.
   //
   unsigned char getBaseOpcodeFor(unsigned Opcode) const;
-
-
-
-  //===--------------------------------------------------------------------===//
-  //
-  // These are stubs for pure virtual methods that should be factored out of
-  // MachineInstrInfo.  We never call them, we don't want them, but we need
-  // stubs so that we can instatiate our class.
-  //
-  MachineOpCode getNOPOpCode() const { abort(); }
-  void CreateCodeToLoadConst(const TargetMachine& target, Function* F,
-                             Value *V, Instruction *I,
-                             std::vector<MachineInstr*>& mvec,
-                             MachineCodeForInstruction& mcfi) const { abort(); }
-  void CreateCodeToCopyIntToFloat(const TargetMachine& target,
-                                  Function* F, Value* val, Instruction* dest,
-                                  std::vector<MachineInstr*>& mvec,
-                                  MachineCodeForInstruction& mcfi) const {
-    abort();
-  }
-  void CreateCodeToCopyFloatToInt(const TargetMachine& target, Function* F,
-                                  Value* val, Instruction* dest,
-                                  std::vector<MachineInstr*>& mvec,
-                                  MachineCodeForInstruction& mcfi)const {
-    abort();
-  }
-  void CreateCopyInstructionsByType(const TargetMachine& target,
-                                    Function* F, Value* src,
-                                    Instruction* dest,
-                                    std::vector<MachineInstr*>& mvec,
-                                    MachineCodeForInstruction& mcfi)const {
-    abort();
-  }
-  
-  void CreateSignExtensionInstructions(const TargetMachine& target,
-                                       Function* F, Value* srcVal,
-                                       Value* destVal, unsigned numLowBits,
-                                       std::vector<MachineInstr*>& mvec,
-                                       MachineCodeForInstruction& mcfi) const {
-    abort();
-  }
-
-  void CreateZeroExtensionInstructions(const TargetMachine& target,
-                                       Function* F, Value* srcVal,
-                                       Value* destVal, unsigned srcSizeInBits,
-                                       std::vector<MachineInstr*>& mvec,
-                                       MachineCodeForInstruction& mcfi) const {
-    abort();
-  }
 };
 
 





More information about the llvm-commits mailing list