src/share/vm/compiler/disassembler.cpp

changeset 2103
3e8fbc61cee8
parent 2047
d2ede61b7a12
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/compiler/disassembler.cpp	Mon Aug 23 09:09:36 2010 -0700
     1.2 +++ b/src/share/vm/compiler/disassembler.cpp	Wed Aug 25 05:27:54 2010 -0700
     1.3 @@ -407,7 +407,7 @@
     1.4    if (!load_library())  return;
     1.5    decode_env env(cb, st);
     1.6    env.output()->print_cr("Decoding CodeBlob " INTPTR_FORMAT, cb);
     1.7 -  env.decode_instructions(cb->instructions_begin(), cb->instructions_end());
     1.8 +  env.decode_instructions(cb->code_begin(), cb->code_end());
     1.9  }
    1.10  
    1.11  
    1.12 @@ -424,12 +424,12 @@
    1.13    env.output()->print_cr("Code:");
    1.14  
    1.15  #ifdef SHARK
    1.16 -  SharkEntry* entry = (SharkEntry *) nm->instructions_begin();
    1.17 -  unsigned char* p = entry->code_start();
    1.18 +  SharkEntry* entry = (SharkEntry *) nm->code_begin();
    1.19 +  unsigned char* p   = entry->code_start();
    1.20    unsigned char* end = entry->code_limit();
    1.21  #else
    1.22 -  unsigned char* p = nm->instructions_begin();
    1.23 -  unsigned char* end = nm->instructions_end();
    1.24 +  unsigned char* p   = nm->code_begin();
    1.25 +  unsigned char* end = nm->code_end();
    1.26  #endif // SHARK
    1.27  
    1.28    // If there has been profiling, print the buckets.

mercurial