Mercurial > hg > truffle
diff src/share/vm/asm/assembler.cpp @ 372:be41fa651400
Merge
author | rasbold |
---|---|
date | Tue, 30 Sep 2008 15:53:55 -0700 |
parents | 36ccc817fca4 |
children | eb28cf662f56 |
line wrap: on
line diff
--- a/src/share/vm/asm/assembler.cpp Wed Sep 24 15:34:06 2008 -0400 +++ b/src/share/vm/asm/assembler.cpp Tue Sep 30 15:53:55 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; }