--- old/src/cpu/x86/vm/nativeInst_x86.cpp 2014-04-24 15:53:02.000000000 -1000 +++ new/src/cpu/x86/vm/nativeInst_x86.cpp 2014-04-24 15:53:02.000000000 -1000 @@ -515,9 +515,9 @@ } void NativePopReg::insert(address code_pos, Register reg) { - assert(reg->encoding() < 8, "no space for REX"); + assert(reg.encoding() < 8, "no space for REX"); assert(NativePopReg::instruction_size == sizeof(char), "right address unit for update"); - *code_pos = (u_char)(instruction_code | reg->encoding()); + *code_pos = (u_char)(instruction_code | reg.encoding()); ICache::invalidate_range(code_pos, instruction_size); }