diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-15 18:20:50 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-15 18:20:50 +0000 |
commit | ab6317a1e5a532bac3e39ba62a7c4bb23aacb838 (patch) | |
tree | 34b7dc5706e07ce64797c4f1181c09ea15010404 /include/llvm | |
parent | d0b1bb01f2847f53320fb1088100293e70405067 (diff) | |
download | llvm-ab6317a1e5a532bac3e39ba62a7c4bb23aacb838.tar.gz llvm-ab6317a1e5a532bac3e39ba62a7c4bb23aacb838.tar.bz2 llvm-ab6317a1e5a532bac3e39ba62a7c4bb23aacb838.tar.xz |
Ensure ConstExpr constants are unique.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Constants.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index b927120ad6..e91114f714 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -350,7 +350,7 @@ protected: const std::vector<Value*>& IdxList, const Type *Ty); ~ConstantExpr() {} - virtual void destroyConstant() { destroyConstantImpl(); } + virtual void destroyConstant(); public: // Static methods to construct a ConstantExpr of different kinds. @@ -358,7 +358,7 @@ public: static ConstantExpr *get(unsigned opCode, Constant *C1, Constant *C2, const Type *Ty); static ConstantExpr *get(unsigned opCode, Constant* C, - const std::vector<Value*>& idxList, const Type *Ty); + const std::vector<Value*>& idxList, const Type *Ty); // isNullValue - Return true if this is the value that would be returned by // getNullValue. |