From: Klaus Treichel Date: Fri, 4 Jan 2008 17:15:49 +0000 (+0000) Subject: Add the nint argument to the return_small_struct and flush_small_struct opcodes. X-Git-Tag: before.move.to.git~117 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=242e6c6c019674bc95c7231791d9a113a7207d92;p=francis%2Flibjit.git Add the nint argument to the return_small_struct and flush_small_struct opcodes. --- diff --git a/ChangeLog b/ChangeLog index 9c8df07..1f09f78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-04 Klaus Treichel + + * jit/jit-opcode.c: Add the nint argument to the return_small_struct and + flush_small_struct opcodes. + 2008-01-03 Klaus Treichel * jit/jit-opcode.c: Add the nint argument to the copy_struct opcode. diff --git a/jit/jit-opcode.c b/jit/jit-opcode.c index 6f2198a..7175d21 100644 --- a/jit/jit-opcode.c +++ b/jit/jit-opcode.c @@ -413,7 +413,7 @@ jit_opcode_info_t const jit_opcodes[JIT_OP_NUM_OPCODES] = { {"return_float32", F_(EMPTY, FLOAT32, EMPTY)}, {"return_float64", F_(EMPTY, FLOAT64, EMPTY)}, {"return_nfloat", F_(EMPTY, NFLOAT, EMPTY)}, - {"return_small_struct", F_(EMPTY, PTR, PTR)}, + {"return_small_struct", F_(EMPTY, PTR, PTR) | NINT_ARG}, {"setup_for_nested", F_(EMPTY, INT, EMPTY)}, {"setup_for_sibling", F_(EMPTY, INT, INT) | NINT_ARG}, {"import", F_(PTR, ANY, INT)}, @@ -466,7 +466,7 @@ jit_opcode_info_t const jit_opcodes[JIT_OP_NUM_OPCODES] = { {"push_nfloat", F_(EMPTY, NFLOAT, EMPTY)}, {"push_struct", F_(EMPTY, ANY, PTR) | NINT_ARG}, {"pop_stack", F_(EMPTY, INT, EMPTY) | NINT_ARG}, - {"flush_small_struct", F_(EMPTY, ANY, EMPTY)}, + {"flush_small_struct", F_(EMPTY, ANY, EMPTY) | NINT_ARG}, {"set_param_int", F_(EMPTY, INT, PTR)}, {"set_param_long", F_(EMPTY, LONG, PTR)}, {"set_param_float32", F_(EMPTY, FLOAT32, PTR)},