diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-11 15:53:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-11 15:53:15 +0000 |
commit | a1244304925a5ae80e671af3a3a2ad4679071bfa (patch) | |
tree | 7ce877a42c85204775001d78789dbc7d996158b4 /lib/VMCore | |
parent | 3751aa559d0a020d1dba7d25d31900710a61e22c (diff) | |
download | external_llvm-a1244304925a5ae80e671af3a3a2ad4679071bfa.zip external_llvm-a1244304925a5ae80e671af3a3a2ad4679071bfa.tar.gz external_llvm-a1244304925a5ae80e671af3a3a2ad4679071bfa.tar.bz2 |
Fix a typo in an assertion string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index 2cdd552..104f037 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -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? |