mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Ensure ConstExpr constants are unique.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d0b1bb01f2
commit
ab6317a1e5
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user