comparison src/cpu/sparc/vm/nativeInst_sparc.hpp @ 2375:d673ef06fe96

7028374: race in fix_oop_relocations for scavengeable nmethods Reviewed-by: kvn
author never
date Fri, 18 Mar 2011 15:52:42 -0700
parents f95d63e2154a
children 1d1603768966
comparison
equal deleted inserted replaced
2370:048f98400b8e 2375:d673ef06fe96
252 252
253 // Regenerate the instruction sequence that performs the 64 bit 253 // Regenerate the instruction sequence that performs the 64 bit
254 // sethi. This only does the sethi. The disp field (bottom 10 bits) 254 // sethi. This only does the sethi. The disp field (bottom 10 bits)
255 // must be handled separately. 255 // must be handled separately.
256 static void set_data64_sethi(address instaddr, intptr_t x); 256 static void set_data64_sethi(address instaddr, intptr_t x);
257 static void verify_data64_sethi(address instaddr, intptr_t x);
257 258
258 // combine the fields of a sethi/simm13 pair (simm13 = or, add, jmpl, ld/st) 259 // combine the fields of a sethi/simm13 pair (simm13 = or, add, jmpl, ld/st)
259 static int data32(int sethi_insn, int arith_insn) { 260 static int data32(int sethi_insn, int arith_insn) {
260 assert(is_op2(sethi_insn, Assembler::sethi_op2), "must be sethi"); 261 assert(is_op2(sethi_insn, Assembler::sethi_op2), "must be sethi");
261 int hi = Assembler::inv_hi22(sethi_insn); 262 int hi = Assembler::inv_hi22(sethi_insn);