hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp
changeset 22852 1063026e8cee
parent 22834 3e2df6a4a28c
child 22861 f5c393d456fc
--- a/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp	Thu Nov 21 12:30:35 2013 -0800
+++ b/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp	Thu Nov 21 18:29:34 2013 -0800
@@ -1128,7 +1128,7 @@
   assert(!MacroAssembler::needs_explicit_null_check(oopDesc::klass_offset_in_bytes()),
          "klass offset should reach into any page");
   // Check for NULL argument if we don't have implicit null checks.
-  if (!ImplicitNullChecks NOT_LINUX(|| true) /*!os::zero_page_read_protected()*/) {
+  if (!ImplicitNullChecks || !os::zero_page_read_protected()) {
     if (TrapBasedNullChecks) {
       __ trap_null_check(R3_ARG1);
     } else {