JVM IR: do not add suffix for accessors to top level functions
This only reproduced when compiling (technically incorrect) code in the standard library, where private functions monitorEnter/monitorExit are accessed from another file, and their names with suffixes are not recognized as intrinsics which should be replaced by monitorenter/monitorexit JVM bytecode instructions.
This commit is contained in:
+5
@@ -14275,6 +14275,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/intrinsics/longRangeWithExplicitDot.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("monitorEnterMonitorExit.kt")
|
||||
public void testMonitorEnterMonitorExit() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/intrinsics/monitorEnterMonitorExit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nonShortCircuitAnd.kt")
|
||||
public void testNonShortCircuitAnd() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/intrinsics/nonShortCircuitAnd.kt");
|
||||
|
||||
Reference in New Issue
Block a user