提交 5b4d53f4 编写于 作者: K kvn

6834142: method->print_codes(): Error: ShouldNotReachHere()

Summary: Restore the call to Bytecodes::java_code() in BytecodePrinter::print_attributes().
Reviewed-by: jrose
上级 470c1589
...@@ -300,6 +300,7 @@ void BytecodePrinter::print_field_or_method(int i, outputStream* st) { ...@@ -300,6 +300,7 @@ void BytecodePrinter::print_field_or_method(int i, outputStream* st) {
void BytecodePrinter::print_attributes(Bytecodes::Code code, int bci, outputStream* st) { void BytecodePrinter::print_attributes(Bytecodes::Code code, int bci, outputStream* st) {
// Show attributes of pre-rewritten codes // Show attributes of pre-rewritten codes
code = Bytecodes::java_code(code);
// If the code doesn't have any fields there's nothing to print. // If the code doesn't have any fields there's nothing to print.
// note this is ==1 because the tableswitch and lookupswitch are // note this is ==1 because the tableswitch and lookupswitch are
// zero size (for some reason) and we want to print stuff out for them. // zero size (for some reason) and we want to print stuff out for them.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册