Browse Source

fix the type of dest value of jit_insn_sign

cache-refactoring
Aleksey Demakov 17 years ago
parent
commit
e22549c927
  1. 5
      ChangeLog
  2. 2
      jit/jit-insn.c

5
ChangeLog

@ -1,3 +1,8 @@
2008-04-19 Klaus Treichel <ktreichel@web.de>
* 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 <ktreichel@web.de>
* include/jit/Makefile.am:

2
jit/jit-insn.c

@ -3502,7 +3502,7 @@ jit_value_t jit_insn_sign(jit_function_t func, jit_value_t value1)
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
{

Loading…
Cancel
Save