Mercurial > hg > truffle
comparison src/share/vm/compiler/disassembler.cpp @ 2014:4de5f4101cfd
Merge
author | iveresov |
---|---|
date | Wed, 08 Dec 2010 17:50:49 -0800 |
parents | 828eafbd85cc 2f644f85485d |
children | b92c45f2bc75 |
comparison
equal
deleted
inserted
replaced
1990:401fbd7ff77c | 2014:4de5f4101cfd |
---|---|
464 total_bucket_count += FlatProfiler::bucket_count_for(p0); | 464 total_bucket_count += FlatProfiler::bucket_count_for(p0); |
465 } | 465 } |
466 env.set_total_ticks(total_bucket_count); | 466 env.set_total_ticks(total_bucket_count); |
467 } | 467 } |
468 | 468 |
469 // Print constant table. | |
470 if (nm->consts_size() > 0) { | |
471 nm->print_nmethod_labels(env.output(), nm->consts_begin()); | |
472 int offset = 0; | |
473 for (address p = nm->consts_begin(); p < nm->consts_end(); p += 4, offset += 4) { | |
474 if ((offset % 8) == 0) { | |
475 env.output()->print_cr(" " INTPTR_FORMAT " (offset: %4d): " PTR32_FORMAT " " PTR64_FORMAT, (intptr_t) p, offset, *((int32_t*) p), *((int64_t*) p)); | |
476 } else { | |
477 env.output()->print_cr(" " INTPTR_FORMAT " (offset: %4d): " PTR32_FORMAT, (intptr_t) p, offset, *((int32_t*) p)); | |
478 } | |
479 } | |
480 } | |
481 | |
469 env.decode_instructions(p, end); | 482 env.decode_instructions(p, end); |
470 } | 483 } |