8139094: Tier1 test java/util/zip/TestCRC32C.java fails due to fixes for JDK-8134553

Match correct intrinsic kind

Reviewed-by: iveresov, kvn
This commit is contained in:
Tomasz Wojtowicz 2015-10-08 09:51:12 -07:00 committed by Igor Veresov
parent 1380ff2e93
commit 254fe207a8

View File

@ -849,7 +849,7 @@ address InterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpre
__ movl(end, Address(rsp, 4 + 0)); // end
__ subl(len, Address(rsp, 4 + 1 * wordSize)); // end - offset == length
// Calculate address of start element
if (kind == Interpreter::java_util_zip_CRC32_updateByteBuffer) {
if (kind == Interpreter::java_util_zip_CRC32C_updateDirectByteBuffer) {
__ movptr(buf, Address(rsp, 4 + 2 * wordSize)); // long address
__ addptr(buf, Address(rsp, 4 + 1 * wordSize)); // + offset
__ movl(crc, Address(rsp, 4 + 4 * wordSize)); // Initial CRC