--- old/src/share/vm/opto/runtime.cpp 2015-08-25 15:39:54.000000000 -0700 +++ new/src/share/vm/opto/runtime.cpp 2015-08-25 15:39:54.000000000 -0700 @@ -921,6 +921,28 @@ return TypeFunc::make(domain, range); } +/** +* int updateBytesAdler32(int adler, bytes* b, int off, int len) +*/ +const TypeFunc* OptoRuntime::updateBytesAdler32_Type() { + // create input type (domain) + int num_args = 3; + int argcnt = num_args; + const Type** fields = TypeTuple::fields(argcnt); + int argp = TypeFunc::Parms; + fields[argp++] = TypeInt::INT; // crc + fields[argp++] = TypePtr::NOTNULL; // src + offset + fields[argp++] = TypeInt::INT; // len + assert(argp == TypeFunc::Parms+argcnt, "correct decoding"); + const TypeTuple* domain = TypeTuple::make(TypeFunc::Parms+argcnt, fields); + + // result type needed + fields = TypeTuple::fields(1); + fields[TypeFunc::Parms+0] = TypeInt::INT; // crc result + const TypeTuple* range = TypeTuple::make(TypeFunc::Parms+1, fields); + return TypeFunc::make(domain, range); +} + // for cipherBlockChaining calls of aescrypt encrypt/decrypt, four pointers and a length, returning int const TypeFunc* OptoRuntime::cipherBlockChaining_aescrypt_Type() { // create input type (domain)