summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit5211b0128b196fe550d7da75d05f495b74a5501f (patch)
tree7492b9891bc0f449ae665a8f3b445447288510dd /llvm/lib
parent866d26339239f1820184bdf6f733d914a5775166 (diff)
downloadbcm5719-llvm-5211b0128b196fe550d7da75d05f495b74a5501f.tar.gz
bcm5719-llvm-5211b0128b196fe550d7da75d05f495b74a5501f.zip
Fix a typo in an assertion string.
llvm-svn: 78671
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index 2cdd55217cc..104f0377e85 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/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?
OpenPOWER on IntegriCloud