From: yeom Date: Thu, 21 Jul 2011 01:18:16 +0000 (+0000) Subject: fix a bug: there was no case for unsigned shift op. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=IRC.git;a=commitdiff_plain;h=3bf3297111d68be64bd8048b56ba710451d5b6ec;hp=40e9b64bbc6a8a2c1feacba48f30b7059238e912 fix a bug: there was no case for unsigned shift op. --- diff --git a/Robust/src/IR/AssignOperation.java b/Robust/src/IR/AssignOperation.java index e4e79c21..2d6e7d5f 100644 --- a/Robust/src/IR/AssignOperation.java +++ b/Robust/src/IR/AssignOperation.java @@ -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(); }