mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8301460: Clean up LambdaForm to reference BasicType enums directly
Reviewed-by: jvernee
This commit is contained in:
parent
28f5250fa5
commit
50dcc2aec5
4 changed files with 15 additions and 24 deletions
|
@ -150,16 +150,6 @@ class LambdaForm {
|
|||
static final int ARG_TYPE_LIMIT = ARG_TYPES.length;
|
||||
static final int TYPE_LIMIT = ALL_TYPES.length;
|
||||
|
||||
// Derived int constants, which (unlike the enums) can be constant folded.
|
||||
// We can remove them when JDK-8161245 is fixed.
|
||||
static final byte
|
||||
L_TYPE_NUM = (byte) L_TYPE.ordinal(),
|
||||
I_TYPE_NUM = (byte) I_TYPE.ordinal(),
|
||||
J_TYPE_NUM = (byte) J_TYPE.ordinal(),
|
||||
F_TYPE_NUM = (byte) F_TYPE.ordinal(),
|
||||
D_TYPE_NUM = (byte) D_TYPE.ordinal(),
|
||||
V_TYPE_NUM = (byte) V_TYPE.ordinal();
|
||||
|
||||
final char btChar;
|
||||
final Class<?> btClass;
|
||||
final Wrapper btWrapper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue