changeset 22508 | 4f8b051ff895 |
parent 21210 | 7bc9ef060a52 |
child 24933 | c16c7a4ac386 |
--- a/hotspot/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp Tue Jan 14 21:33:33 2014 -0800 +++ b/hotspot/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp Thu Jan 16 16:18:34 2014 -0800 @@ -941,6 +941,8 @@ case vmIntrinsics::_updateCRC32: { LIRItem crc(x->argument_at(0), this); LIRItem val(x->argument_at(1), this); + // val is destroyed by update_crc32 + val.set_destroys_register(); crc.load_item(); val.load_item(); __ update_crc32(crc.result(), val.result(), result);