compile.c: refine debug prints
* compile.c (ibf_load_iseq_complete): use alternate hexadecimal form for offset. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2de68923da
commit
ba267bce47
@ -9625,11 +9625,11 @@ ibf_load_iseq_complete(rb_iseq_t *iseq)
|
|||||||
#if IBF_ISEQ_DEBUG
|
#if IBF_ISEQ_DEBUG
|
||||||
fprintf(stderr, "ibf_load_iseq_complete: load=%p iseq=%p prev=%p\n",
|
fprintf(stderr, "ibf_load_iseq_complete: load=%p iseq=%p prev=%p\n",
|
||||||
load, iseq, prev_src_iseq);
|
load, iseq, prev_src_iseq);
|
||||||
fprintf(stderr, "ibf_load_iseq_complete: list=%p(%p+%x) index=%i/%u\n",
|
fprintf(stderr, "ibf_load_iseq_complete: list=%p(%p+%#x) index=%i/%u\n",
|
||||||
ibf_iseq_list(load),
|
ibf_iseq_list(load),
|
||||||
load->buff, load->header->iseq_list_offset,
|
load->buff, load->header->iseq_list_offset,
|
||||||
iseq->aux.loader.index, load->header->iseq_list_size);
|
iseq->aux.loader.index, load->header->iseq_list_size);
|
||||||
fprintf(stderr, "ibf_load_iseq_complete: offset=%u size=%u\n",
|
fprintf(stderr, "ibf_load_iseq_complete: offset=%#x size=%#x\n",
|
||||||
ibf_iseq_list(load)[iseq->aux.loader.index],
|
ibf_iseq_list(load)[iseq->aux.loader.index],
|
||||||
load->header->size);
|
load->header->size);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user