From 1b5625d02784a8c24761e01d75ee302b71aee4bb Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 18 May 2009 18:46:57 +0000 Subject: [PATCH] Remove getType() overrides for ExtractValueInst and InsertValueInst. Patch by John McCall. llvm-svn: 72028 --- include/llvm/Instructions.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index c5016515e3f..59ae6100d2c 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(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(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(); }