# HG changeset patch # User forax # Date 1301320876 -7200 # Node ID cb75377db25b9a5bca2229e5175ee2c90e6886a4 # Parent 52fb46737ce6ea1bb5653ffef93937732d2ce388 Encoding of U32/U64 in Register is wrong. isArray(U32) should return false diff -r 52fb46737ce6 -r cb75377db25b src/main/java/org/icedrobot/daneel/rewriter/Register.java --- a/src/main/java/org/icedrobot/daneel/rewriter/Register.java Mon Mar 28 01:14:55 2011 +0200 +++ b/src/main/java/org/icedrobot/daneel/rewriter/Register.java Mon Mar 28 16:01:16 2011 +0200 @@ -84,10 +84,10 @@ public static final int BOOLEAN_TYPE = 8; // boolean public static final int VOID_TYPE = 9; // void, added to simplify management - public static final int U32_TYPE = -1; // untyped 32bits constant - public static final int U64_TYPE = -2; // untyped 64bits constant + public static final int U32_TYPE = Integer.MIN_VALUE | 1; // untyped 32bits constant + public static final int U64_TYPE = Integer.MIN_VALUE | 2; // untyped 64bits constant - public static final int NO_TYPE = -3; // unassigned register + public static final int NO_TYPE = Integer.MIN_VALUE; // unassigned register private static final int UNTYPED_MASK = Integer.MIN_VALUE;