diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-29 00:33:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-29 00:33:00 +0000 |
commit | 5181ac8081dd6c7d78613a5da8829f81a81e9e63 (patch) | |
tree | 7bc8f0d166a4dd2e175fa56ce3a5a98093d2a291 /include/llvm/Instruction.h | |
parent | ec285706aedd7027ec09a53bda9f2a8d919489cf (diff) | |
download | external_llvm-5181ac8081dd6c7d78613a5da8829f81a81e9e63.zip external_llvm-5181ac8081dd6c7d78613a5da8829f81a81e9e63.tar.gz external_llvm-5181ac8081dd6c7d78613a5da8829f81a81e9e63.tar.bz2 |
Adjust to changes in the User class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r-- | include/llvm/Instruction.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index a735973..8d69afa 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -36,7 +36,6 @@ class Instruction : public User { friend class SymbolTableListTraits<Instruction, BasicBlock, Function, ilist_traits<Instruction> >; void setParent(BasicBlock *P); - void init(); private: // FIXME: This is a dirty hack. Setcc instructions shouldn't encode the CC @@ -44,10 +43,11 @@ private: void setOpcode(unsigned NewOpcode); friend class BinaryOperator; protected: - Instruction(const Type *Ty, unsigned iType, const std::string &Name = "", + Instruction(const Type *Ty, unsigned iType, Use *Ops, unsigned NumOps, + const std::string &Name = "", Instruction *InsertBefore = 0); - Instruction(const Type *Ty, unsigned iType, const std::string &Name, - BasicBlock *InsertAtEnd); + Instruction(const Type *Ty, unsigned iType, Use *Ops, unsigned NumOps, + const std::string &Name, BasicBlock *InsertAtEnd); public: ~Instruction() { |