1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Ensure ConstExpr constants are unique.

llvm-svn: 2910
This commit is contained in:
Vikram S. Adve 2002-07-15 18:20:50 +00:00
parent 45eeb8e738
commit 9c2c68687e

View File

@ -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.