diff --git a/kotlin-native/backend.native/tests/filecheck/redundant_safepoints.kt b/kotlin-native/backend.native/tests/filecheck/redundant_safepoints.kt index 4354a7cc5fa..ee102085597 100644 --- a/kotlin-native/backend.native/tests/filecheck/redundant_safepoints.kt +++ b/kotlin-native/backend.native/tests/filecheck/redundant_safepoints.kt @@ -16,20 +16,20 @@ fun g() = f() // CHECK-LABEL: define %struct.ObjHeader* @"kfun:#h(kotlin.Boolean){}kotlin.Any" @Retain fun h(cond: Boolean): Any { - // CHECK: _ZN6kotlin2mm8internal20gSuspensionRequestedE + // CHECK: _ZN12_GLOBAL__N_115safePointActionE // CHECK-SMALLBINARY: {{call .*Kotlin_mm_safePointFunctionPrologue}} - // CHECK-NOT: _ZN6kotlin2mm8internal20gSuspensionRequestedE + // CHECK-NOT: _ZN12_GLOBAL__N_115safePointActionE // CHECK-NOT: {{call .*Kotlin_mm_safePointFunctionPrologue}} // CHECK: br // CHECK-SMALLBINARY: br if (cond) { - // CHECK-NOT: _ZN6kotlin2mm8internal20gSuspensionRequestedE + // CHECK-NOT: _ZN12_GLOBAL__N_115safePointActionE // CHECK-NOT: {{call .*Kotlin_mm_safePointFunctionPrologue}} // CHECK: br // CHECK-SMALLBINARY: br return listOf(C(), C()) } else { - // CHECK-NOT: _ZN6kotlin2mm8internal20gSuspensionRequestedE + // CHECK-NOT: _ZN12_GLOBAL__N_115safePointActionE // CHECK-NOT: {{call .*Kotlin_mm_safePointFunctionPrologue}} return listOf(C(), C(), C()) } @@ -39,11 +39,11 @@ fun h(cond: Boolean): Any { // CHECK-LABEL: define void @"kfun:#main(){}"() @Retain fun main() { - // CHECK: _ZN6kotlin2mm8internal20gSuspensionRequestedE + // CHECK: _ZN12_GLOBAL__N_115safePointActionE // CHECK-SMALLBINARY: {{call .*Kotlin_mm_safePointFunctionPrologue}} - // CHECK-NOT: _ZN6kotlin2mm8internal20gSuspensionRequestedE + // CHECK-NOT: _ZN12_GLOBAL__N_115safePointActionE // CHECK-NOT: {{call .*Kotlin_mm_safePointFunctionPrologue}} println(g()) println(h(true)) // CHECK: } -} \ No newline at end of file +}