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

Gabor Greif ggreif at gmail.com
Fri Jul 23 09:24:01 PDT 2010


Author: ggreif
Date: Fri Jul 23 11:24:01 2010
New Revision: 109232

URL: http://llvm.org/viewvc/llvm-project?rev=109232&view=rev
Log:
implement stop valuations

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=109232&r1=109231&r2=109232&view=diff
==============================================================================
--- llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp (original)
+++ llvm/branches/ggreif/waymark-64/lib/VMCore/Use.cpp Fri Jul 23 11:24:01 2010
@@ -54,9 +54,13 @@
     unsigned Tag = (Current++)->Prev.getInt();
     if (Tag < stop64Tag)
       continue;
+    ptrdiff_t Offset = Tag & 3;
     switch (Tag) {
-      case stop64Tag: {
-        ptrdiff_t Offset = Current->Prev.getInt() ? 0 : 1;
+      case stop64Tag:
+        if (!Current->Prev.getInt())
+          Offset = 1;
+      case xStop64Tag:
+      case yStop64Tag: {
         while (true) {
           unsigned Tag = Current->Prev.getInt();
           switch (Tag) {





More information about the llvm-branch-commits mailing list