mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-07 20:25:00 +00:00
8022395: java.util.zip.ZipException: Not in GZIP format in JT_JDK/test/java/util/zip/GZIP tests
Reviewed-by: kvn, iveresov
This commit is contained in:
parent
1689dc7b05
commit
d80bfaeb14
@ -941,6 +941,8 @@ void LIRGenerator::do_update_CRC32(Intrinsic* x) {
|
||||
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user