Mercurial > hg > graal-compiler
comparison src/share/vm/compiler/disassembler.cpp @ 1748:3e8fbc61cee8
6978355: renaming for 6961697
Summary: This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Wed, 25 Aug 2010 05:27:54 -0700 |
parents | d2ede61b7a12 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1747:53dbe853fb3a | 1748:3e8fbc61cee8 |
---|---|
405 | 405 |
406 void Disassembler::decode(CodeBlob* cb, outputStream* st) { | 406 void Disassembler::decode(CodeBlob* cb, outputStream* st) { |
407 if (!load_library()) return; | 407 if (!load_library()) return; |
408 decode_env env(cb, st); | 408 decode_env env(cb, st); |
409 env.output()->print_cr("Decoding CodeBlob " INTPTR_FORMAT, cb); | 409 env.output()->print_cr("Decoding CodeBlob " INTPTR_FORMAT, cb); |
410 env.decode_instructions(cb->instructions_begin(), cb->instructions_end()); | 410 env.decode_instructions(cb->code_begin(), cb->code_end()); |
411 } | 411 } |
412 | 412 |
413 | 413 |
414 void Disassembler::decode(address start, address end, outputStream* st) { | 414 void Disassembler::decode(address start, address end, outputStream* st) { |
415 if (!load_library()) return; | 415 if (!load_library()) return; |
422 decode_env env(nm, st); | 422 decode_env env(nm, st); |
423 env.output()->print_cr("Decoding compiled method " INTPTR_FORMAT ":", nm); | 423 env.output()->print_cr("Decoding compiled method " INTPTR_FORMAT ":", nm); |
424 env.output()->print_cr("Code:"); | 424 env.output()->print_cr("Code:"); |
425 | 425 |
426 #ifdef SHARK | 426 #ifdef SHARK |
427 SharkEntry* entry = (SharkEntry *) nm->instructions_begin(); | 427 SharkEntry* entry = (SharkEntry *) nm->code_begin(); |
428 unsigned char* p = entry->code_start(); | 428 unsigned char* p = entry->code_start(); |
429 unsigned char* end = entry->code_limit(); | 429 unsigned char* end = entry->code_limit(); |
430 #else | 430 #else |
431 unsigned char* p = nm->instructions_begin(); | 431 unsigned char* p = nm->code_begin(); |
432 unsigned char* end = nm->instructions_end(); | 432 unsigned char* end = nm->code_end(); |
433 #endif // SHARK | 433 #endif // SHARK |
434 | 434 |
435 // If there has been profiling, print the buckets. | 435 // If there has been profiling, print the buckets. |
436 if (FlatProfiler::bucket_start_for(p) != NULL) { | 436 if (FlatProfiler::bucket_start_for(p) != NULL) { |
437 unsigned char* p1 = p; | 437 unsigned char* p1 = p; |