equal
deleted
inserted
replaced
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_COMPILER_DISASSEMBLER_HPP |
25 #ifndef SHARE_VM_COMPILER_DISASSEMBLER_HPP |
26 #define SHARE_VM_COMPILER_DISASSEMBLER_HPP |
26 #define SHARE_VM_COMPILER_DISASSEMBLER_HPP |
27 |
27 |
|
28 #include "asm/codeBuffer.hpp" |
28 #include "runtime/globals.hpp" |
29 #include "runtime/globals.hpp" |
29 #ifdef TARGET_OS_FAMILY_linux |
30 #ifdef TARGET_OS_FAMILY_linux |
30 # include "os_linux.inline.hpp" |
31 # include "os_linux.inline.hpp" |
31 #endif |
32 #endif |
32 #ifdef TARGET_OS_FAMILY_solaris |
33 #ifdef TARGET_OS_FAMILY_solaris |
85 static bool can_decode() { |
86 static bool can_decode() { |
86 return (_decode_instructions != NULL) || load_library(); |
87 return (_decode_instructions != NULL) || load_library(); |
87 } |
88 } |
88 static void decode(CodeBlob *cb, outputStream* st = NULL); |
89 static void decode(CodeBlob *cb, outputStream* st = NULL); |
89 static void decode(nmethod* nm, outputStream* st = NULL); |
90 static void decode(nmethod* nm, outputStream* st = NULL); |
90 static void decode(address begin, address end, outputStream* st = NULL); |
91 static void decode(address begin, address end, outputStream* st = NULL, CodeComments c = CodeComments()); |
91 }; |
92 }; |
92 |
93 |
93 #endif // SHARE_VM_COMPILER_DISASSEMBLER_HPP |
94 #endif // SHARE_VM_COMPILER_DISASSEMBLER_HPP |