diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-24 20:48:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-24 20:48:18 +0000 |
commit | 3c7088f8b4b76c5e605dd093ba805e11d039ab52 (patch) | |
tree | 8fb8ce727177526162e5d9dc972c949d7fee24f5 /include/llvm/InstrTypes.h | |
parent | 4e585c7e3ab96d56a3b913ef34f1db4907826e30 (diff) | |
download | external_llvm-3c7088f8b4b76c5e605dd093ba805e11d039ab52.zip external_llvm-3c7088f8b4b76c5e605dd093ba805e11d039ab52.tar.gz external_llvm-3c7088f8b4b76c5e605dd093ba805e11d039ab52.tar.bz2 |
sink clone() down the class hierarchy from CmpInst into ICmpInst/FCmpInst.
This eliminates a conditional on that path, and ensures ICmpInst/FCmpInst
both have an out-of-line virtual method to home the class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/InstrTypes.h')
-rw-r--r-- | include/llvm/InstrTypes.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h index d96b20f..f7644e3 100644 --- a/include/llvm/InstrTypes.h +++ b/include/llvm/InstrTypes.h @@ -494,9 +494,6 @@ public: Value *S2, const std::string &Name, BasicBlock *InsertAtEnd); - /// @brief Implement superclass method. - virtual CmpInst *clone() const; - /// @brief Get the opcode casted to the right type OtherOps getOpcode() const { return static_cast<OtherOps>(Instruction::getOpcode()); |