Mercurial > hg > truffle
diff src/cpu/x86/vm/c1_LIRGenerator_x86.cpp @ 17497:8b81451dc7f7
8022395: java.util.zip.ZipException: Not in GZIP format in JT_JDK/test/java/util/zip/GZIP tests
Reviewed-by: kvn, iveresov
author | twisti |
---|---|
date | Thu, 16 Jan 2014 16:18:34 -0800 |
parents | 946a8294ab15 |
children | 4ca6dc0799b6 2fd0fd493045 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp Tue Jan 14 09:44:45 2014 +0100 +++ b/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);