aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Instruction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-16 20:30:02 +0000
committerChris Lattner <sabre@nondot.org>2003-04-16 20:30:02 +0000
commit076e2ae92f4ef60103f75ccbf4e33063328effad (patch)
tree12755719b6f55c67bf3685bff1abd7fbbf8eee81 /include/llvm/Instruction.h
parent4ad02e726d9b634372b037d4b352d8b63bb9e849 (diff)
downloadexternal_llvm-076e2ae92f4ef60103f75ccbf4e33063328effad.zip
external_llvm-076e2ae92f4ef60103f75ccbf4e33063328effad.tar.gz
external_llvm-076e2ae92f4ef60103f75ccbf4e33063328effad.tar.bz2
Revert modulo scheduling change that should be part of the modulo-sched pass itself,
not part of the Instruction class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r--include/llvm/Instruction.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index 56f4ebf..5f61b2d 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -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; }