mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8287522: StringConcatFactory: Add in prependers and mixers in batches
Reviewed-by: jlaskey, mchung
This commit is contained in:
parent
47d3c2a175
commit
5c39a36641
4 changed files with 353 additions and 199 deletions
|
@ -199,13 +199,8 @@ class LambdaForm {
|
|||
default -> throw newInternalError("Unknown type char: '" + type + "'");
|
||||
};
|
||||
}
|
||||
static BasicType basicType(Wrapper type) {
|
||||
char c = type.basicTypeChar();
|
||||
return basicType(c);
|
||||
}
|
||||
static BasicType basicType(Class<?> type) {
|
||||
if (!type.isPrimitive()) return L_TYPE;
|
||||
return basicType(Wrapper.forPrimitiveType(type));
|
||||
return basicType(Wrapper.basicTypeChar(type));
|
||||
}
|
||||
static int[] basicTypeOrds(BasicType[] types) {
|
||||
if (types == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue