CVSROOT:        /sources/dotgnu-pnet
Module name:    libjit
Changes by:     Aleksey Demakov <avd>   08/04/19 13:48:50

Modified files:
        .              : ChangeLog 
        jit            : jit-insn.c 

Log message:
        fix the type of dest value of jit_insn_sign

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libjit/ChangeLog?cvsroot=dotgnu-pnet&r1=1.361&r2=1.362
http://cvs.savannah.gnu.org/viewcvs/libjit/jit/jit-insn.c?cvsroot=dotgnu-pnet&r1=1.59&r2=1.60

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/libjit/ChangeLog,v
retrieving revision 1.361
retrieving revision 1.362
diff -u -b -r1.361 -r1.362
--- ChangeLog   13 Apr 2008 17:55:36 -0000      1.361
+++ ChangeLog   19 Apr 2008 13:48:50 -0000      1.362
@@ -1,3 +1,8 @@
+2008-04-19  Klaus Treichel  <[EMAIL PROTECTED]>
+
+       * jit/jit-insn.c (jit_insn_sign): the dest value of the sign insn
+       has to be int regardless of the argument type.
+
 2008-04-13  Klaus Treichel  <[EMAIL PROTECTED]>
 
        * include/jit/Makefile.am:

Index: jit/jit-insn.c
===================================================================
RCS file: /sources/dotgnu-pnet/libjit/jit/jit-insn.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- jit/jit-insn.c      2 Mar 2008 17:07:06 -0000       1.59
+++ jit/jit-insn.c      19 Apr 2008 13:48:50 -0000      1.60
@@ -3502,7 +3502,7 @@
        value1 = jit_insn_convert(func, value1, result_type, 0);
        if(_jit_opcode_is_supported(oper))
        {
-               return apply_unary(func, oper, value1, result_type);
+               return apply_unary(func, oper, value1, jit_type_int);
        }
        else
        {


_______________________________________________
dotgnu-pnet-commits mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/dotgnu-pnet-commits

Reply via email to