mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 22:20:37 +00:00
Fix a typo in an assertion string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78671 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3751aa559d
commit
a124430492
@ -553,7 +553,7 @@ void User::replaceUsesOfWith(Value *From, Value *To) {
|
||||
if (From == To) return; // Duh what?
|
||||
|
||||
assert((!isa<Constant>(this) || isa<GlobalValue>(this)) &&
|
||||
"Cannot call User::replaceUsesofWith on a constant!");
|
||||
"Cannot call User::replaceUsesOfWith on a constant!");
|
||||
|
||||
for (unsigned i = 0, E = getNumOperands(); i != E; ++i)
|
||||
if (getOperand(i) == From) { // Is This operand is pointing to oldval?
|
||||
|
Loading…
Reference in New Issue
Block a user