JVM IR: fix names of monitorenter/monitorexit intrinsics

Since they're "illegally" accessed from another file in stdlib,
accessors are generated for them, and the calls go through these
accessors
This commit is contained in:
Alexander Udalov
2019-11-12 18:58:28 +01:00
parent f47b67781d
commit 994d4e081b
@@ -51,13 +51,13 @@ class IrIntrinsicMethods(val irBuiltIns: IrBuiltIns, val symbols: JvmSymbols) {
Key(
kotlinJvmInternalUnsafe,
null,
"monitorEnter",
"access\$monitorEnter\$0",
listOf(KotlinBuiltIns.FQ_NAMES.any.toSafe())
) to MonitorInstruction.MONITOR_ENTER,
Key(
kotlinJvmInternalUnsafe,
null,
"monitorExit",
"access\$monitorExit\$1",
listOf(KotlinBuiltIns.FQ_NAMES.any.toSafe())
) to MonitorInstruction.MONITOR_EXIT,
Key(