Fix a typo in an assertion string.
authorDan Gohman <gohman@apple.com>
Tue, 11 Aug 2009 15:53:15 +0000 (15:53 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 11 Aug 2009 15:53:15 +0000 (15:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78671 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Value.cpp

index 2cdd55217cc4133c1af6495513b7c0073e4db3aa..104f0377e851225ef54660bf4368279c4f6fc6b9 100644 (file)
@@ -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?