dotgnu-libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-libjit] [Patch] Type conversion bug


From: Michele Tartara
Subject: [Dotgnu-libjit] [Patch] Type conversion bug
Date: Wed, 13 Oct 2010 15:28:18 +0200

I think I found a bug in the conversion of values from int32 to uint64.

Here is the patch that fixes the problem:

=== modified file 'jit/jit-insn.c'
--- jit/jit-insn.c   2010-10-11 20:32:32 +0000
+++ jit/jit-insn.c   2010-10-13 09:32:18 +0000
@@ -4380,7 +4380,7 @@
                            /* from signed byte */
                            /* from signed short */
                            /* from signed int */
-                           { CVT(JIT_OP_EXPAND_INT,             ulong),
+                           { CVT(JIT_OP_EXPAND_UINT,            ulong),
                              CVT_NONE,
                              CVT_NONE },
                            { CVT(JIT_OP_CHECK_UINT,             uint),




Bye,
Michele



reply via email to

[Prev in Thread] Current Thread [Next in Thread]