mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8209439: C2 library_call can potentially ignore Math.pow intrinsic or use null pointer
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
b9052e9647
commit
4377d3abe2
1 changed files with 1 additions and 1 deletions
|
@ -1815,7 +1815,7 @@ bool LibraryCallKit::inline_math_native(vmIntrinsics::ID id) {
|
|||
set_result(_gvn.transform(new MulDNode(base, base)));
|
||||
return true;
|
||||
}
|
||||
return StubRoutines::dexp() != NULL ?
|
||||
return StubRoutines::dpow() != NULL ?
|
||||
runtime_math(OptoRuntime::Math_DD_D_Type(), StubRoutines::dpow(), "dpow") :
|
||||
runtime_math(OptoRuntime::Math_DD_D_Type(), FN_PTR(SharedRuntime::dpow), "POW");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue