fullStopTag cannot happen here, it is handled above
authorGabor Greif <ggreif@gmail.com>
Sat, 17 Jul 2010 20:52:46 +0000 (20:52 +0000)
committerGabor Greif <ggreif@gmail.com>
Sat, 17 Jul 2010 20:52:46 +0000 (20:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108631 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Use.cpp

index af38a2d6b3fa90114306e4453afc3ab7bd30cef2..c88ad16f60f771ed6f89dac74d5079722577f1b7 100644 (file)
@@ -100,9 +100,7 @@ Use *Use::initTags(Use * const Start, Use *Stop, ptrdiff_t Done) {
     --Stop;
     Stop->Val = 0;
     if (!Count) {
-      Stop->Prev.setFromOpaqueValue(reinterpret_cast<Use**>(Done == 0
-                                                            ? fullStopTag
-                                                            : stopTag));
+      Stop->Prev.setFromOpaqueValue(reinterpret_cast<Use**>(stopTag));
       ++Done;
       Count = Done;
     } else {