src/hotspot/share/compiler/abstractDisassembler.cpp
changeset 54994 faf89c9568bd
parent 54960 e46fe26d7f77
child 55024 948385f851f2
equal deleted inserted replaced
54993:65b0b63d7f14 54994:faf89c9568bd
    42 bool AbstractDisassembler::_show_pc            = true;
    42 bool AbstractDisassembler::_show_pc            = true;
    43 bool AbstractDisassembler::_show_offset        = false;
    43 bool AbstractDisassembler::_show_offset        = false;
    44 bool AbstractDisassembler::_show_structs       = false;
    44 bool AbstractDisassembler::_show_structs       = false;
    45 bool AbstractDisassembler::_show_comment       = false;
    45 bool AbstractDisassembler::_show_comment       = false;
    46 bool AbstractDisassembler::_show_block_comment = false;
    46 bool AbstractDisassembler::_show_block_comment = false;
    47 #if defined(ARM) || defined(AARCH64)
    47 
    48 bool AbstractDisassembler::_show_bytes  = false; // set "true" to see what's in memory bit by bit
    48 // set "true" to see what's in memory bit by bit
    49                                                  // might prove cumbersome because instr_len is hard to find on arm
    49 // might prove cumbersome on platforms where instr_len is hard to find out
    50 #endif
    50 bool AbstractDisassembler::_show_bytes         = false;
    51 #if defined(PPC)
       
    52 bool AbstractDisassembler::_show_bytes  = false;  // set "true" to see what's in memory bit by bit
       
    53 #endif
       
    54 #if defined(S390)
       
    55 bool AbstractDisassembler::_show_bytes  = false;  // set "true" to see what's in memory bit by bit
       
    56 #endif
       
    57 #if defined(SPARC)
       
    58 bool AbstractDisassembler::_show_bytes  = false; // set "true" to see what's in memory bit by bit
       
    59 #endif
       
    60 #if defined(X86)
       
    61 bool AbstractDisassembler::_show_bytes  = false; // set "true" to see what's in memory bit by bit
       
    62                                                  // might prove cumbersome because instr_len is hard to find on x86
       
    63 #endif
       
    64 #if defined(ZERO)
       
    65 bool AbstractDisassembler::_show_bytes  = false; // set "true" to see what's in memory bit by bit
       
    66 #endif
       
    67 
    51 
    68 // Return #bytes printed. Callers may use that for output alignment.
    52 // Return #bytes printed. Callers may use that for output alignment.
    69 // Print instruction address, and offset from blob begin.
    53 // Print instruction address, and offset from blob begin.
    70 // Offset width (2, 4, 6, 8 bytes) is adapted to size of blob.
    54 // Offset width (2, 4, 6, 8 bytes) is adapted to size of blob.
    71 // Working assumption: we are at st->bol() upon entry. If not, it's the
    55 // Working assumption: we are at st->bol() upon entry. If not, it's the