diff options
author | Eric Christopher <echristo@apple.com> | 2009-05-18 18:46:57 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2009-05-18 18:46:57 +0000 |
commit | d4083e5a91cb0d951d11e7682b1d6b341f5d0c60 (patch) | |
tree | 35cb46422f4bd0687256960018548c56d2d7745b | |
parent | 805da894cf7976e85ed001633fcaafbb5842dcf8 (diff) |
Remove getType() overrides for ExtractValueInst and InsertValueInst.
Patch by John McCall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72028 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Instructions.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index c5016515e3..59ae6100d2 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -1616,11 +1616,6 @@ public: virtual ExtractValueInst *clone() const; - // getType - Overload to return most specific pointer type... - const PointerType *getType() const { - return reinterpret_cast<const PointerType*>(Instruction::getType()); - } - /// getIndexedType - Returns the type of the element that would be extracted /// with an extractvalue instruction with the specified parameters. /// @@ -1794,11 +1789,6 @@ public: /// Transparently provide more efficient getOperand methods. DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value); - // getType - Overload to return most specific pointer type... - const PointerType *getType() const { - return reinterpret_cast<const PointerType*>(Instruction::getType()); - } - typedef const unsigned* idx_iterator; inline idx_iterator idx_begin() const { return Indices.begin(); } inline idx_iterator idx_end() const { return Indices.end(); } |