Skip to content

Commit

Permalink
8277485: Zero: Fix _fast_{i,f}access_0 bytecodes handling
Browse files Browse the repository at this point in the history
Backport-of: 0a9e76c4f9d966015c19e87e3eb59ceb7489459f
  • Loading branch information
shipilev committed Jan 3, 2023
1 parent a395cf7 commit 298fef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp
Expand Up @@ -2815,7 +2815,7 @@ void BytecodeInterpreter::run(interpreterState istate) {
UPDATE_PC_AND_TOS_AND_CONTINUE(4, 1);
}

CASE(_fast_faccess_0): {
CASE(_fast_iaccess_0): {
u2 index = Bytes::get_native_u2(pc+2);
ConstantPoolCacheEntry* cache = cp->entry_at(index);
int field_offset = cache->f2_as_index();
Expand All @@ -2830,7 +2830,7 @@ void BytecodeInterpreter::run(interpreterState istate) {
UPDATE_PC_AND_TOS_AND_CONTINUE(4, 1);
}

CASE(_fast_iaccess_0): {
CASE(_fast_faccess_0): {
u2 index = Bytes::get_native_u2(pc+2);
ConstantPoolCacheEntry* cache = cp->entry_at(index);
int field_offset = cache->f2_as_index();
Expand Down

1 comment on commit 298fef7

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.