aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Value.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-11 15:53:15 +0000
committerDan Gohman <gohman@apple.com>2009-08-11 15:53:15 +0000
commit1224224743585dfa18a63186ec238c649c11aadc (patch)
tree7ce877a42c85204775001d78789dbc7d996158b4 /lib/VMCore/Value.cpp
parent6acc0b24a969c1ab5898c7256d2cc08291e25561 (diff)
downloadexternal_llvm-1224224743585dfa18a63186ec238c649c11aadc.zip
external_llvm-1224224743585dfa18a63186ec238c649c11aadc.tar.gz
external_llvm-1224224743585dfa18a63186ec238c649c11aadc.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/Value.cpp')
-rw-r--r--lib/VMCore/Value.cpp2
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?