21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 /* |
25 /* |
26 * This file has been modified by Loongson Technology in 2015. These |
26 * This file has been modified by Loongson Technology in 2015, 2018. These |
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made |
27 * modifications are Copyright (c) 2015, 2018 Loongson Technology, and are made |
28 * available on the same license terms set forth above. |
28 * available on the same license terms set forth above. |
29 */ |
29 */ |
30 |
30 |
31 #include "precompiled.hpp" |
31 #include "precompiled.hpp" |
32 #include "c1/c1_InstructionPrinter.hpp" |
32 #include "c1/c1_InstructionPrinter.hpp" |
2346 tmp1()->print(out); out->print(" "); |
2346 tmp1()->print(out); out->print(" "); |
2347 } |
2347 } |
2348 |
2348 |
2349 // LIR_OpProfileType |
2349 // LIR_OpProfileType |
2350 void LIR_OpProfileType::print_instr(outputStream* out) const { |
2350 void LIR_OpProfileType::print_instr(outputStream* out) const { |
2351 out->print("exact = "); exact_klass()->print_name_on(out); |
2351 out->print("exact = "); |
|
2352 if (exact_klass() == NULL) { |
|
2353 out->print("unknown"); |
|
2354 } else { |
|
2355 exact_klass()->print_name_on(out); |
|
2356 } |
2352 out->print("current = "); ciTypeEntries::print_ciklass(out, current_klass()); |
2357 out->print("current = "); ciTypeEntries::print_ciklass(out, current_klass()); |
2353 mdp()->print(out); out->print(" "); |
2358 mdp()->print(out); out->print(" "); |
2354 obj()->print(out); out->print(" "); |
2359 obj()->print(out); out->print(" "); |
2355 tmp()->print(out); out->print(" "); |
2360 tmp()->print(out); out->print(" "); |
2356 } |
2361 } |