[llvm-commits] CVS: llvm/include/llvm/Instruction.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Apr 16 15:31:01 PDT 2003
Changes in directory llvm/include/llvm:
Instruction.h updated: 1.38 -> 1.39
---
Log message:
Revert modulo scheduling change that should be part of the modulo-sched pass itself,
not part of the Instruction class.
---
Diffs of the changes:
Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.38 llvm/include/llvm/Instruction.h:1.39
--- llvm/include/llvm/Instruction.h:1.38 Sun Apr 6 18:58:44 2003
+++ llvm/include/llvm/Instruction.h Wed Apr 16 15:30:02 2003
@@ -23,8 +23,6 @@
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 @@
/// * 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; }
More information about the llvm-commits
mailing list