summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-07-15 18:20:50 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-07-15 18:20:50 +0000
commit47265143a94e4cc93c9ca45c23412a32b4ad8037 (patch)
tree364df243cdc36e527d7de9c5b5b89489ec65567b
parent4c48533b576316ad6107714e201d09d740cb7bf6 (diff)
downloadbcm5719-llvm-47265143a94e4cc93c9ca45c23412a32b4ad8037.tar.gz
bcm5719-llvm-47265143a94e4cc93c9ca45c23412a32b4ad8037.zip
Ensure ConstExpr constants are unique.
llvm-svn: 2910
-rw-r--r--llvm/include/llvm/Constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Constants.h b/llvm/include/llvm/Constants.h
index b927120ad6e..e91114f7148 100644
--- a/llvm/include/llvm/Constants.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud