fix a bug: there was no case for unsigned shift op.
authoryeom <yeom>
Thu, 21 Jul 2011 01:18:16 +0000 (01:18 +0000)
committeryeom <yeom>
Thu, 21 Jul 2011 01:18:16 +0000 (01:18 +0000)
Robust/src/IR/AssignOperation.java

index e4e79c2149fe1e528f1a221406423f9daaac4415..2d6e7d5f144128c895da3776b774c77235c6462a 100644 (file)
@@ -137,7 +137,10 @@ public class AssignOperation {
       return "postinc";
     else if (operation==POSTDEC)
       return "postdec";
-    else throw new Error();
+    else if ( operation==URSHIFTEQ)
+      return ">>>=";
+    else 
+      throw new Error();    
   }