aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Constants.h4
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.