Skip to content
Permalink
Browse files
8277860: PPC: Remove duplicate info != NULL check
Reviewed-by: chagedorn, mdoerr
  • Loading branch information
rkennke committed Nov 26, 2021
1 parent 040b2c5 commit ce0234b47d5c40e74dac368396e92cdec5cc2de7
Showing 1 changed file with 4 additions and 6 deletions.
@@ -2733,12 +2733,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);
}
}

1 comment on commit ce0234b

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on ce0234b Nov 26, 2021

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.