Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/c1_LIRGenerator_x86.cpp @ 14264:4d7678fb8a27
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 |
comparison
equal
deleted
inserted
replaced
14263:30f8cd8b43dd | 14264:4d7678fb8a27 |
---|---|
939 int flags = 0; | 939 int flags = 0; |
940 switch (x->id()) { | 940 switch (x->id()) { |
941 case vmIntrinsics::_updateCRC32: { | 941 case vmIntrinsics::_updateCRC32: { |
942 LIRItem crc(x->argument_at(0), this); | 942 LIRItem crc(x->argument_at(0), this); |
943 LIRItem val(x->argument_at(1), this); | 943 LIRItem val(x->argument_at(1), this); |
944 // val is destroyed by update_crc32 | |
945 val.set_destroys_register(); | |
944 crc.load_item(); | 946 crc.load_item(); |
945 val.load_item(); | 947 val.load_item(); |
946 __ update_crc32(crc.result(), val.result(), result); | 948 __ update_crc32(crc.result(), val.result(), result); |
947 break; | 949 break; |
948 } | 950 } |