20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
|
25 /* |
|
26 * This file has been modified by Loongson Technology in 2015. These |
|
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
28 * available on the same license terms set forth above. |
|
29 */ |
|
30 |
25 #include "precompiled.hpp" |
31 #include "precompiled.hpp" |
26 #include "asm/macroAssembler.hpp" |
32 #include "asm/macroAssembler.hpp" |
27 #include "asm/macroAssembler.inline.hpp" |
33 #include "asm/macroAssembler.inline.hpp" |
28 #include "compiler/disassembler.hpp" |
34 #include "compiler/disassembler.hpp" |
29 #include "interpreter/bytecodeHistogram.hpp" |
35 #include "interpreter/bytecodeHistogram.hpp" |
74 st->print_cr("[" INTPTR_FORMAT ", " INTPTR_FORMAT "] %d bytes", |
80 st->print_cr("[" INTPTR_FORMAT ", " INTPTR_FORMAT "] %d bytes", |
75 p2i(code_begin()), p2i(code_end()), code_size()); |
81 p2i(code_begin()), p2i(code_end()), code_size()); |
76 |
82 |
77 if (PrintInterpreter) { |
83 if (PrintInterpreter) { |
78 st->cr(); |
84 st->cr(); |
|
85 #ifndef MIPS64 |
79 Disassembler::decode(code_begin(), code_end(), st, DEBUG_ONLY(_strings) NOT_DEBUG(CodeStrings())); |
86 Disassembler::decode(code_begin(), code_end(), st, DEBUG_ONLY(_strings) NOT_DEBUG(CodeStrings())); |
|
87 #else |
|
88 Disassembler::decode(code_begin(), code_end(), st); |
|
89 #endif //disassembler_mips.cpp not implement "decode(address start, address end, outputStream* st, CodeComments c". 2013/02/25. |
80 } |
90 } |
81 } |
91 } |
82 |
92 |
83 |
93 |
84 //------------------------------------------------------------------------------------------------------------------------ |
94 //------------------------------------------------------------------------------------------------------------------------ |