Revert modulo scheduling change that should be part of the modulo-sched pass itself,

not part of the Instruction class.

llvm-svn: 5787
This commit is contained in:
Chris Lattner 2003-04-16 20:30:02 +00:00
parent 379a8d2d1c
commit 0d2d871e80
1 changed files with 1 additions and 5 deletions

View File

@ -23,8 +23,6 @@ class Instruction : public User {
friend class SymbolTableListTraits<Instruction, BasicBlock, Function,
ilist_traits<Instruction> >;
void setParent(BasicBlock *P);
private:
Instruction* cln; //the newest cloned instruction
protected:
unsigned iType; // InstructionType: The opcode of the instruction
@ -44,9 +42,7 @@ public:
/// * The instruction has no name
///
virtual Instruction *clone() const = 0;
Instruction * getClone(){return cln;}
void setClone(Instruction* _cln){cln=_cln;}
void clearClone(){cln=NULL;}
// Accessor methods...
//
inline const BasicBlock *getParent() const { return Parent; }