+2010-11-28 Klaus Treichel <ktreichel@web.de>
+
+ * config/jit-opcodes.ops: Set the destination value type for the
+ address_of_label opcode.
+
+ * jit/jit-dump.c (jit_dump_insn): Print the destination value for
+ the address_of_label opcode.
+
2010-11-07 Klaus Treichel <ktreichel@web.de>
* jit/jit-cache.h: Fix comment for _jit_cache_get_end_method.
op_def("leave_filter") { op_values(empty, any) }
op_def("call_filter") { op_type(branch), op_values(empty, any) }
op_def("call_filter_return") { op_values(any) }
- op_def("address_of_label") { op_type(address_of_label) }
+ op_def("address_of_label") { op_type(address_of_label), op_values(ptr) }
/*
* Data manipulation.
*/
}
else if((flags & JIT_OPCODE_IS_ADDROF_LABEL) != 0)
{
+ dump_value(stream, func, jit_insn_get_dest(insn), flags & JIT_OPCODE_DEST_MASK);
+ fprintf(stream, " = ");
fprintf(stream, "address_of_label .L%ld",
(long)(jit_insn_get_label(insn)));
return;