diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-07 09:44:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-07 09:44:30 +0000 |
commit | ba267bce47e4f295bfe6907bfcde8a6b82a5fbf9 (patch) | |
tree | 5bd4915782d50186d277cb59ce158a7bc37ce426 | |
parent | 2de68923da346a150263ea50b8cb6ba87ebdde7a (diff) | |
download | ruby-ba267bce47e4f295bfe6907bfcde8a6b82a5fbf9.tar.gz |
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
-rw-r--r-- | compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9625,11 +9625,11 @@ ibf_load_iseq_complete(rb_iseq_t *iseq) #if IBF_ISEQ_DEBUG fprintf(stderr, "ibf_load_iseq_complete: load=%p iseq=%p prev=%p\n", 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), load->buff, load->header->iseq_list_offset, 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], load->header->size); #endif |