Fix some tests related to direct invoke optimization

- Fix test data of light class tests
  (SymbolLightClassesForLibraryTestGenerated).
- Revert the changes in kt8666.kt because they fail on JS IR, and it
  seems that this test is mostly needed for JS anyway.
- Use 'invoke(' as the pattern in bytecode text tests because plain
  'invoke' is used when these tests are run on JDK 11, where indy string
  concatenation is enabled by default and therefore we reference
  `java/lang/invoke/StringConcatFactory`.
This commit is contained in:
Alexander Udalov
2022-07-15 00:17:00 +02:00
parent 8014712569
commit 3b613b3745
18 changed files with 20 additions and 306 deletions
@@ -1,30 +0,0 @@
public final class A /* pack.A*/ {
@org.jetbrains.annotations.NotNull()
private static java.lang.String v;
@org.jetbrains.annotations.NotNull()
public static final java.lang.String cv = "A" /* initializer type: java.lang.String */ /* constant value A */;
@org.jetbrains.annotations.NotNull()
public static final pack.A INSTANCE;
private static final int c;
public static final int cc = 1 /* initializer type: int */ /* constant value 1 */;
@org.jetbrains.annotations.NotNull()
public final java.lang.String getV();// getV()
private A();// .ctor()
private static final int c$lambda$0();// c$lambda$0()
private static final java.lang.String v$lambda$1();// v$lambda$1()
public final int f();// f()
public final int getC();// getC()
public final void setV(@org.jetbrains.annotations.NotNull() java.lang.String);// setV(java.lang.String)
}