Ensure ConstExpr constants are unique.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve
2002-07-15 18:20:50 +00:00
parent d0b1bb01f2
commit ab6317a1e5

View File

@@ -350,7 +350,7 @@ protected:
const std::vector<Value*>& IdxList, const Type *Ty); const std::vector<Value*>& IdxList, const Type *Ty);
~ConstantExpr() {} ~ConstantExpr() {}
virtual void destroyConstant() { destroyConstantImpl(); } virtual void destroyConstant();
public: public:
// Static methods to construct a ConstantExpr of different kinds. // Static methods to construct a ConstantExpr of different kinds.