From: Klaus Treichel Date: Tue, 10 Aug 2010 13:59:16 +0000 (+0200) Subject: Fix arg1 for the address_of opcode. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=fa75047601fd6d3cb18ea4dc1e6cc03dea69bdda;p=francis%2Flibjit.git Fix arg1 for the address_of opcode. --- diff --git a/ChangeLog b/ChangeLog index 6ebce74..78bbc4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2010-08-09 Klaus Treichel + + * config/jit-opcodes.ops: Fix arg1 for the address_of opcode. + +2010-08-09 Klaus Treichel * jit/jit-gen-x86-64.h: Add macros for the cvttss2si and cvttsd2si instructions. diff --git a/config/jit-opcodes.ops b/config/jit-opcodes.ops index 25adf7f..7beb139 100644 --- a/config/jit-opcodes.ops +++ b/config/jit-opcodes.ops @@ -491,7 +491,7 @@ opcodes(JIT_OP_, "jit_opcode_info_t const jit_opcodes[JIT_OP_NUM_OPCODES]") op_def("copy_struct", =) { op_values(ptr, ptr), "NINT_ARG" } op_def("copy_store_byte") { op_values(int, int) } op_def("copy_store_short") { op_values(int, int) } - op_def("address_of", address_of) { op_values(ptr) } + op_def("address_of", address_of) { op_values(ptr, any) } /* * Incoming registers, outgoing registers, and stack pushes. */