6992477: fix for 6991512 broke sparc barriers

Reviewed-by: kvn, iveresov
This commit is contained in:
Tom Rodriguez 2010-10-15 14:21:11 -07:00
parent ec8fa4caa2
commit e4f08bc195
4 changed files with 3 additions and 4 deletions

View file

@ -1350,7 +1350,6 @@ void LIRGenerator::G1SATBCardTableModRef_post_barrier(LIR_OprDesc* addr, LIR_Opr
addr = ptr;
}
assert(addr->is_register(), "must be a register at this point");
assert(addr->type() == T_OBJECT, "addr should point to an object");
LIR_Opr xor_res = new_pointer_register();
LIR_Opr xor_shift_res = new_pointer_register();