Mercurial > hg > graal-compiler
comparison src/share/vm/interpreter/bytecodeTracer.cpp @ 734:3672e1dac765
6834142: method->print_codes(): Error: ShouldNotReachHere()
Summary: Restore the call to Bytecodes::java_code() in BytecodePrinter::print_attributes().
Reviewed-by: jrose
author | kvn |
---|---|
date | Mon, 27 Apr 2009 12:45:14 -0700 |
parents | be93aad57795 |
children | bd02caa94611 |
comparison
equal
deleted
inserted
replaced
732:fb4c18a2ec66 | 734:3672e1dac765 |
---|---|
298 } | 298 } |
299 | 299 |
300 | 300 |
301 void BytecodePrinter::print_attributes(Bytecodes::Code code, int bci, outputStream* st) { | 301 void BytecodePrinter::print_attributes(Bytecodes::Code code, int bci, outputStream* st) { |
302 // Show attributes of pre-rewritten codes | 302 // Show attributes of pre-rewritten codes |
303 code = Bytecodes::java_code(code); | |
303 // If the code doesn't have any fields there's nothing to print. | 304 // If the code doesn't have any fields there's nothing to print. |
304 // note this is ==1 because the tableswitch and lookupswitch are | 305 // note this is ==1 because the tableswitch and lookupswitch are |
305 // zero size (for some reason) and we want to print stuff out for them. | 306 // zero size (for some reason) and we want to print stuff out for them. |
306 if (Bytecodes::length_for(code) == 1) { | 307 if (Bytecodes::length_for(code) == 1) { |
307 st->cr(); | 308 st->cr(); |