@@ -91,8 +91,8 @@ final class MethodImportTests {
91
91
public static void helloWorld() {
92
92
var mh$ = helloWorld.HANDLE;
93
93
try {
94
- if (TRACE_DOWNCALLS) {
95
- traceDowncall();
94
+ if (SwiftKit. TRACE_DOWNCALLS) {
95
+ SwiftKit. traceDowncall();
96
96
}
97
97
mh$.invokeExact();
98
98
} catch (Throwable ex$) {
@@ -134,8 +134,8 @@ final class MethodImportTests {
134
134
public static void globalTakeInt(long i) {
135
135
var mh$ = globalTakeInt.HANDLE;
136
136
try {
137
- if (TRACE_DOWNCALLS) {
138
- traceDowncall(i);
137
+ if (SwiftKit. TRACE_DOWNCALLS) {
138
+ SwiftKit. traceDowncall(i);
139
139
}
140
140
mh$.invokeExact(i);
141
141
} catch (Throwable ex$) {
@@ -177,8 +177,8 @@ final class MethodImportTests {
177
177
public static void globalTakeIntLongString(int i32, long l, com.example.swift.String s) {
178
178
var mh$ = globalTakeIntLongString.HANDLE;
179
179
try {
180
- if (TRACE_DOWNCALLS) {
181
- traceDowncall(i32, l, s.$memorySegment());
180
+ if (SwiftKit. TRACE_DOWNCALLS) {
181
+ SwiftKit. traceDowncall(i32, l, s.$memorySegment());
182
182
}
183
183
mh$.invokeExact(i32, l, s.$memorySegment());
184
184
} catch (Throwable ex$) {
@@ -220,8 +220,8 @@ final class MethodImportTests {
220
220
public static void helloMemberFunction(java.lang.foreign.MemorySegment self$) {
221
221
var mh$ = helloMemberFunction.HANDLE;
222
222
try {
223
- if (TRACE_DOWNCALLS) {
224
- traceDowncall(self$);
223
+ if (SwiftKit. TRACE_DOWNCALLS) {
224
+ SwiftKit. traceDowncall(self$);
225
225
}
226
226
mh$.invokeExact(self$);
227
227
} catch (Throwable ex$) {
@@ -263,8 +263,8 @@ final class MethodImportTests {
263
263
public static void helloMemberInExtension(java.lang.foreign.MemorySegment self$) {
264
264
var mh$ = helloMemberInExtension.HANDLE;
265
265
try {
266
- if (TRACE_DOWNCALLS) {
267
- traceDowncall(self$);
266
+ if (SwiftKit. TRACE_DOWNCALLS) {
267
+ SwiftKit. traceDowncall(self$);
268
268
}
269
269
mh$.invokeExact(self$);
270
270
} catch (Throwable ex$) {
@@ -306,8 +306,8 @@ final class MethodImportTests {
306
306
public static void helloMemberFunction(java.lang.foreign.MemorySegment self$) {
307
307
var mh$ = helloMemberFunction.HANDLE;
308
308
try {
309
- if (TRACE_DOWNCALLS) {
310
- traceDowncall(self$);
309
+ if (SwiftKit. TRACE_DOWNCALLS) {
310
+ SwiftKit. traceDowncall(self$);
311
311
}
312
312
mh$.invokeExact(self$);
313
313
} catch (Throwable ex$) {
@@ -431,8 +431,8 @@ final class MethodImportTests {
431
431
public MySwiftClass(SwiftArena arena, long len, long cap) {
432
432
var mh$ = init_len_cap.HANDLE;
433
433
try {
434
- if (TRACE_DOWNCALLS) {
435
- traceDowncall(len, cap);
434
+ if (SwiftKit. TRACE_DOWNCALLS) {
435
+ SwiftKit. traceDowncall(len, cap);
436
436
}
437
437
this.selfMemorySegment = (MemorySegment) mh$.invokeExact(len, cap, TYPE_METADATA.$memorySegment());
438
438
if (arena != null) {
0 commit comments