changeset 6774 | a224d6a24120 |
parent 6751 | b399fd234e47 |
child 6970 | 3ac175042286 |
--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp Tue Oct 12 02:21:06 2010 -0700 +++ b/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp Tue Oct 12 23:51:20 2010 -0700 @@ -1350,6 +1350,7 @@ 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();