mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
Merge
This commit is contained in:
commit
b0367c3bea
183 changed files with 775 additions and 1520 deletions
|
@ -45,21 +45,7 @@
|
|||
#include "runtime/javaCalls.hpp"
|
||||
#include "runtime/orderAccess.inline.hpp"
|
||||
#include "runtime/os.hpp"
|
||||
#ifdef TARGET_ARCH_x86
|
||||
# include "bytes_x86.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_sparc
|
||||
# include "bytes_sparc.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_zero
|
||||
# include "bytes_zero.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_arm
|
||||
# include "bytes_arm.hpp"
|
||||
#endif
|
||||
#ifdef TARGET_ARCH_ppc
|
||||
# include "bytes_ppc.hpp"
|
||||
#endif
|
||||
#include "utilities/bytes.hpp"
|
||||
|
||||
#define NOFAILOVER_MAJOR_VERSION 51
|
||||
#define NONZERO_PADDING_BYTES_IN_SWITCH_MAJOR_VERSION 51
|
||||
|
@ -439,7 +425,7 @@ void ErrorContext::location_details(outputStream* ss, const Method* method) cons
|
|||
if (_bci != -1 && method != NULL) {
|
||||
streamIndentor si(ss);
|
||||
const char* bytecode_name = "<invalid>";
|
||||
if (method->validate_bci_from_bcx(_bci) != -1) {
|
||||
if (method->validate_bci(_bci) != -1) {
|
||||
Bytecodes::Code code = Bytecodes::code_or_bp_at(method->bcp_from(_bci));
|
||||
if (Bytecodes::is_defined(code)) {
|
||||
bytecode_name = Bytecodes::name(code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue