1.1 --- a/src/cpu/x86/vm/assembler_x86.cpp Wed Oct 28 11:16:42 2009 -0700 1.2 +++ b/src/cpu/x86/vm/assembler_x86.cpp Thu Oct 29 09:42:26 2009 -0700 1.3 @@ -8214,6 +8214,15 @@ 1.4 } 1.5 } 1.6 1.7 +// Used for storing NULLs. 1.8 +void MacroAssembler::store_heap_oop_null(Address dst) { 1.9 + if (UseCompressedOops) { 1.10 + movl(dst, (int32_t)NULL_WORD); 1.11 + } else { 1.12 + movslq(dst, (int32_t)NULL_WORD); 1.13 + } 1.14 +} 1.15 + 1.16 // Algorithm must match oop.inline.hpp encode_heap_oop. 1.17 void MacroAssembler::encode_heap_oop(Register r) { 1.18 assert (UseCompressedOops, "should be compressed");