hotspot/src/share/vm/asm/assembler.cpp
changeset 1400 afd034bb8c2e
parent 823 9a5271881bc0
child 1412 2bb3fe3e00ea
--- a/hotspot/src/share/vm/asm/assembler.cpp	Wed Sep 17 12:59:52 2008 -0700
+++ b/hotspot/src/share/vm/asm/assembler.cpp	Tue Sep 23 12:29:06 2008 -0700
@@ -249,8 +249,6 @@
 bool MacroAssembler::needs_explicit_null_check(intptr_t offset) {
   // Exception handler checks the nmethod's implicit null checks table
   // only when this method returns false.
-#ifndef SPARC
-  // Sparc does not have based addressing
   if (UseCompressedOops) {
     // The first page after heap_base is unmapped and
     // the 'offset' is equal to [heap_base + offset] for
@@ -261,7 +259,6 @@
       offset = (intptr_t)(pointer_delta((void*)offset, (void*)heap_base, 1));
     }
   }
-#endif // SPARC
   return offset < 0 || os::vm_page_size() <= offset;
 }