Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8257502: Builds fail with new warnings after JDK-8256254
Reviewed-by: jiefu, stuefe
  • Loading branch information
shipilev committed Dec 1, 2020
1 parent 2966d0d commit eaf4db6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/s390/sharedRuntime_s390.cpp
Expand Up @@ -920,7 +920,7 @@ static void gen_special_dispatch(MacroAssembler *masm,
has_receiver = MethodHandles::ref_kind_has_receiver(ref_kind);
} else {
guarantee(special_dispatch == vmIntrinsics::_invokeBasic || special_dispatch == vmIntrinsics::_linkToNative,
"special_dispatch=%d", special_dispatch);
"special_dispatch=%d", vmIntrinsics::as_int(special_dispatch));
has_receiver = true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp
Expand Up @@ -1288,7 +1288,7 @@ static void gen_special_dispatch(MacroAssembler* masm,
} else if (iid == vmIntrinsics::_invokeBasic) {
has_receiver = true;
} else {
fatal("unexpected intrinsic id %d", iid);
fatal("unexpected intrinsic id %d", vmIntrinsics::as_int(iid));
}

if (member_reg != noreg) {
Expand Down

1 comment on commit eaf4db6

@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.