summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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