Skip to content
Snippets Groups Projects
Commit 0d2d871e authored by Chris Lattner's avatar Chris Lattner
Browse files

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

not part of the Instruction class.

llvm-svn: 5787
parent 379a8d2d
No related merge requests found
...@@ -23,8 +23,6 @@ class Instruction : public User { ...@@ -23,8 +23,6 @@ class Instruction : public User {
friend class SymbolTableListTraits<Instruction, BasicBlock, Function, friend class SymbolTableListTraits<Instruction, BasicBlock, Function,
ilist_traits<Instruction> >; ilist_traits<Instruction> >;
void setParent(BasicBlock *P); void setParent(BasicBlock *P);
private:
Instruction* cln; //the newest cloned instruction
protected: protected:
unsigned iType; // InstructionType: The opcode of the instruction unsigned iType; // InstructionType: The opcode of the instruction
...@@ -44,9 +42,7 @@ public: ...@@ -44,9 +42,7 @@ public:
/// * The instruction has no name /// * The instruction has no name
/// ///
virtual Instruction *clone() const = 0; virtual Instruction *clone() const = 0;
Instruction * getClone(){return cln;}
void setClone(Instruction* _cln){cln=_cln;}
void clearClone(){cln=NULL;}
// Accessor methods... // Accessor methods...
// //
inline const BasicBlock *getParent() const { return Parent; } inline const BasicBlock *getParent() const { return Parent; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment