mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8199471: Enable generation of callSiteForms at link time
Reviewed-by: psandoz, mchung
This commit is contained in:
parent
562b3c4393
commit
b66ffad152
6 changed files with 77 additions and 24 deletions
|
@ -523,7 +523,7 @@ class Invokers {
|
|||
}
|
||||
|
||||
// skipCallSite is true if we are optimizing a ConstantCallSite
|
||||
private static LambdaForm callSiteForm(MethodType mtype, boolean skipCallSite) {
|
||||
static LambdaForm callSiteForm(MethodType mtype, boolean skipCallSite) {
|
||||
mtype = mtype.basicType(); // normalize Z to I, String to Object, etc.
|
||||
final int which = (skipCallSite ? MethodTypeForm.LF_MH_LINKER : MethodTypeForm.LF_CS_LINKER);
|
||||
LambdaForm lform = mtype.form().cachedLambdaForm(which);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue