From dba645bce1b6f50ddc07a2e3c8872b1c35897f58 Mon Sep 17 00:00:00 2001 From: Elena Lepilkina Date: Tue, 5 Oct 2021 17:57:05 +0300 Subject: [PATCH] [K/N] Fix FileCheck test, now compiler produces call instruction --- kotlin-native/backend.native/tests/filecheck/smoke0.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kotlin-native/backend.native/tests/filecheck/smoke0.kt b/kotlin-native/backend.native/tests/filecheck/smoke0.kt index f0768bc2c1b..2426abc7912 100644 --- a/kotlin-native/backend.native/tests/filecheck/smoke0.kt +++ b/kotlin-native/backend.native/tests/filecheck/smoke0.kt @@ -11,9 +11,9 @@ fun id(a: Any?): Any? { // CHECK-LABEL: "kfun:#main(){}" fun main() { - // CHECK: invoke %struct.ObjHeader* @"kfun:#id(kotlin.Any?){}kotlin.Any?" + // CHECK: call %struct.ObjHeader* @"kfun:#id(kotlin.Any?){}kotlin.Any?" val x = id("Hello") - // CHECK: invoke void @"kfun:kotlin.io#println(kotlin.Any?){}"(%struct.ObjHeader* {{.*}}) + // CHECK: call void @"kfun:kotlin.io#println(kotlin.Any?){}"(%struct.ObjHeader* {{.*}}) println(x) // CHECK-LABEL: epilogue } \ No newline at end of file