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

Gabor Greif ggreif at gmail.com
Fri Jul 23 09:52:03 PDT 2010


Author: ggreif
Date: Fri Jul 23 11:52:03 2010
New Revision: 109236

URL: http://llvm.org/viewvc/llvm-project?rev=109236&view=rev
Log:
checkpoint

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=109236&r1=109235&r2=109236&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:52:03 2010
@@ -57,9 +57,12 @@
     ptrdiff_t Offset = Tag & 3;
     switch (Tag) {
       case stop64Tag:
-        if (!Current->Prev.getInt())
-          Offset = 1;
-          // fall thru...
+        switch (Current->Prev.getInt()) {
+				case 0: ++Current; Offset = 4; break;
+        case xStop64Tag: ++Current; Offset = 1; break;
+        case yStop64Tag: ++Current; Offset = 2; break;
+				}
+        // fall thru...
       case xStop64Tag:
       case yStop64Tag:
         while (true) {





More information about the llvm-branch-commits mailing list