Mercurial > hg > icedrobot > daneel
changeset 94:cb75377db25b
Encoding of U32/U64 in Register is wrong.
isArray(U32) should return false
author | forax |
---|---|
date | Mon, 28 Mar 2011 16:01:16 +0200 |
parents | 52fb46737ce6 |
children | 2a82664dd5cd |
files | src/main/java/org/icedrobot/daneel/rewriter/Register.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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;