8000 compile.c: refine debug prints · willnet/ruby@ba267bc · GitHub
[go: up one dir, main page]

Skip to content

Commit ba267bc

Browse files
committed
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
1 parent 2de6892 commit ba267bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9625,11 +9625,11 @@ ibf_load_iseq_complete(rb_iseq_t *iseq)
96259625
#if IBF_ISEQ_DEBUG
96269626
fprintf(stderr, "ibf_load_iseq_complete: load=%p iseq=%p prev=%p\n",
96279627
load, iseq, prev_src_iseq);
9628-
fprintf(stderr, "ibf_load_iseq_complete: list=%p(%p+%x) index=%i/%u\n",
9628+
fprintf(stderr, "ibf_load_iseq_complete: list=%p(%p+%#x) index=%i/%u\n",
96299629
ibf_iseq_list(load),
96309630
load->buff, load->header->iseq_list_offset,
96319631
iseq->aux.loader.index, load->header->iseq_list_size);
9632-
fprintf(stderr, "ibf_load_iseq_complete: offset=%u size=%u\n",
9632+
fprintf(stderr, "ibf_load_iseq_complete: offset=%#x size=%#x\n",
96339633
ibf_iseq_list(load)[iseq->aux.loader.index],
96349634
load->header->size);
96359635
#endif

0 commit comments

Comments
 (0)
0