forked from OSchip/llvm-project
parent
01b43b885b
commit
47f89e0f55
|
@ -897,7 +897,7 @@ public:
|
|||
/// getWithOperands - This returns the current constant expression with the
|
||||
/// operands replaced with the specified values. The specified operands must
|
||||
/// match count and type with the existing ones.
|
||||
Constant *getWithOperands(llvm::ArrayRef<Constant*> Ops) const;
|
||||
Constant *getWithOperands(ArrayRef<Constant*> Ops) const;
|
||||
|
||||
virtual void destroyConstant();
|
||||
virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U);
|
||||
|
|
|
@ -855,7 +855,7 @@ ConstantExpr::getWithOperandReplaced(unsigned OpNo, Constant *Op) const {
|
|||
/// operands replaced with the specified values. The specified operands must
|
||||
/// match count and type with the existing ones.
|
||||
Constant *ConstantExpr::
|
||||
getWithOperands(llvm::ArrayRef<Constant*> Ops) const {
|
||||
getWithOperands(ArrayRef<Constant*> Ops) const {
|
||||
assert(Ops.size() == getNumOperands() && "Operand count mismatch!");
|
||||
bool AnyChange = false;
|
||||
for (unsigned i = 0; i != Ops.size(); ++i) {
|
||||
|
|
Loading…
Reference in New Issue