8062808: Turn on the -Wreturn-type warning

Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett
This commit is contained in:
Stefan Karlsson 2014-11-12 13:55:59 +01:00
parent f9d8e2ae9d
commit 692dbfd02d
13 changed files with 18 additions and 16 deletions

View file

@ -986,7 +986,7 @@ Handle SharedRuntime::find_callee_info(JavaThread* thread, Bytecodes::Code& bc,
// last java frame on stack (which includes native call frames)
vframeStream vfst(thread, true); // Do not skip and javaCalls
return find_callee_info_helper(thread, vfst, bc, callinfo, CHECK_(Handle()));
return find_callee_info_helper(thread, vfst, bc, callinfo, THREAD);
}