diff options
Diffstat (limited to 'lib/VMCore/Value.cpp')
| -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 54ea5b7..7b9d7f0 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -307,7 +307,7 @@ void Value::replaceAllUsesWith(Value *New) {  void User::replaceUsesOfWith(Value *From, Value *To) {    if (From == To) return;   // Duh what? -  assert(!isa<Constant>(this) || isa<GlobalValue>(this) && +  assert((!isa<Constant>(this) || isa<GlobalValue>(this)) &&           "Cannot call User::replaceUsesofWith on a constant!");    for (unsigned i = 0, E = getNumOperands(); i != E; ++i) | 
