[llvm-branch-commits] [llvm-branch] r109277 - /llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp

Gabor Greif ggreif at gmail.com
Fri Jul 23 15:19:00 PDT 2010


Author: ggreif
Date: Fri Jul 23 17:19:00 2010
New Revision: 109277

URL: http://llvm.org/viewvc/llvm-project?rev=109277&view=rev
Log:
minor tweaks

Modified:
    llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp

Modified: llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp?rev=109277&r1=109276&r2=109277&view=diff
==============================================================================
--- llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp (original)
+++ llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp Fri Jul 23 17:19:00 2010
@@ -189,10 +189,7 @@
       continue;
     case 1:
       Stop->Prev.setFromOpaqueValue(reinterpret_cast<Use**>(xStop64Tag));
-      if ((Done & 3) == 1)
-        Count = Done >> 2;
-      else
-        Count = 0;
+      Count = (Done & 3) == 1 ? Done >> 2 : 0;
       ++Done;
       continue;
     case 2:





More information about the llvm-branch-commits mailing list