# Patch created by kt # Date: Sa 4. Okt 12:55:03 CEST 2008 # Repository: libjit # Comments: # # Test to fix conversion values with typessizes < 4 to nfloat if the value # is loaded from the stackframe. #### End of Preamble #### #### Patch data follows #### Index: jit/jit-rules-x86-64.c =================================================================== RCS file: /cvsroot/dotgnu-pnet/libjit/jit/jit-rules-x86-64.c,v retrieving revision 1.6 diff -c -r1.6 jit-rules-x86-64.c *** jit/jit-rules-x86-64.c 26 Jul 2008 15:13:19 -0000 1.6 --- jit/jit-rules-x86-64.c 4 Oct 2008 10:55:09 -0000 *************** *** 899,904 **** --- 899,905 ---- { switch(type->kind) { + #if 0 case JIT_TYPE_SBYTE: case JIT_TYPE_UBYTE: { *************** *** 914,920 **** _jit_reg_info[reg].cpu_reg, 2); } break; ! case JIT_TYPE_INT: case JIT_TYPE_UINT: case JIT_TYPE_FLOAT32: --- 915,926 ---- _jit_reg_info[reg].cpu_reg, 2); } break; ! #else ! case JIT_TYPE_SBYTE: ! case JIT_TYPE_UBYTE: ! case JIT_TYPE_SHORT: ! case JIT_TYPE_USHORT: ! #endif case JIT_TYPE_INT: case JIT_TYPE_UINT: case JIT_TYPE_FLOAT32: #### End of Patch data ####