From bdd921b78803917d627e919fb1f06489986de93d Mon Sep 17 00:00:00 2001 From: Aleksey Demakov Date: Fri, 13 Jan 2006 11:10:06 +0000 Subject: [PATCH] Fixed return type of inrinsic function that return exception code. --- ChangeLog | 6 ++++++ jit/jit-insn.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78c57d5..44d881b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-01-13 Aleksey Demakov + + * jit/jit-insn.c: fix all descriptors of intrinsic functions that + return an exception code to have return_type equal to + _jit_type_int_def. + 2006-01-11 Aleksey Demakov * jit/jit-gen-x86.h (x86_jump_memindex): add macro for indirect diff --git a/jit/jit-insn.c b/jit/jit-insn.c index 13167fa..ad0fc28 100644 --- a/jit/jit-insn.c +++ b/jit/jit-insn.c @@ -111,7 +111,7 @@ static jit_intrinsic_descr_t const descr_I_II = { (jit_type_t)&_jit_type_uint_def }; static jit_intrinsic_descr_t const descr_e_pI_II = { - (jit_type_t)&_jit_type_uint_def, + (jit_type_t)&_jit_type_int_def, (jit_type_t)&_jit_type_uint_def, (jit_type_t)&_jit_type_uint_def, (jit_type_t)&_jit_type_uint_def @@ -135,7 +135,7 @@ static jit_intrinsic_descr_t const descr_l_ll = { (jit_type_t)&_jit_type_long_def }; static jit_intrinsic_descr_t const descr_e_pl_ll = { - (jit_type_t)&_jit_type_long_def, + (jit_type_t)&_jit_type_int_def, (jit_type_t)&_jit_type_long_def, (jit_type_t)&_jit_type_long_def, (jit_type_t)&_jit_type_long_def @@ -171,7 +171,7 @@ static jit_intrinsic_descr_t const descr_L_LL = { (jit_type_t)&_jit_type_ulong_def }; static jit_intrinsic_descr_t const descr_e_pL_LL = { - (jit_type_t)&_jit_type_ulong_def, + (jit_type_t)&_jit_type_int_def, (jit_type_t)&_jit_type_ulong_def, (jit_type_t)&_jit_type_ulong_def, (jit_type_t)&_jit_type_ulong_def -- 2.47.3