[llvm-commits] CVS: llvm/lib/VMCore/Value.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Nov 5 13:10:02 PST 2003


Changes in directory llvm/lib/VMCore:

Value.cpp updated: 1.38 -> 1.39

---
Log message:

If we're not checking, don't check!


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/VMCore/Value.cpp
diff -u llvm/lib/VMCore/Value.cpp:1.38 llvm/lib/VMCore/Value.cpp:1.39
--- llvm/lib/VMCore/Value.cpp:1.38	Mon Oct 20 14:43:21 2003
+++ llvm/lib/VMCore/Value.cpp	Wed Nov  5 13:09:40 2003
@@ -66,7 +66,7 @@
     // Must handle Constants specially, we cannot call replaceUsesOfWith on a
     // constant!
     if (Constant *C = dyn_cast<Constant>(U.getUser())) {
-      C->replaceUsesOfWithOnConstant(this, New);
+      C->replaceUsesOfWithOnConstant(this, New, true);
     } else {
       U.set(New);
     }





More information about the llvm-commits mailing list