Skip to content

Commit

Permalink
8277860: PPC: Remove duplicate info != NULL check
Browse files Browse the repository at this point in the history
Backport-of: ce0234b47d5c40e74dac368396e92cdec5cc2de7
  • Loading branch information
shipilev committed Jul 7, 2023
1 parent d7a59f3 commit a34d90b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp
Expand Up @@ -2734,12 +2734,10 @@ void LIR_Assembler::emit_load_klass(LIR_OpLoadKlass* op) {

CodeEmitInfo* info = op->info();
if (info != NULL) {
if (info != NULL) {
if (!os::zero_page_read_protected() || !ImplicitNullChecks) {
explicit_null_check(obj, info);
} else {
add_debug_info_for_null_check_here(info);
}
if (!os::zero_page_read_protected() || !ImplicitNullChecks) {
explicit_null_check(obj, info);
} else {
add_debug_info_for_null_check_here(info);
}
}

Expand Down

1 comment on commit a34d90b

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