Skip to content

Commit a347973

Browse files
mkustermanncommit-bot@chromium.org
authored andcommitted
[vm/ffi] Fix function_gc_test to use correct native for joining a helper thread
Change-Id: I1dd326f006254024914532ed2408949666749328 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112381 Reviewed-by: Clement Skau <[email protected]> Commit-Queue: Martin Kustermann <[email protected]>
1 parent e627d8b commit a347973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ffi/function_gc_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ final unprotectCode = ffiTestFunctions.lookupFunction<
115115
ffi.Pointer<ffi.Void> Function()>("UnprotectCode");
116116
final waitForHelper = ffiTestFunctions.lookupFunction<
117117
ffi.Void Function(ffi.Pointer<ffi.Void>),
118-
void Function(ffi.Pointer<ffi.Void>)>("UnprotectCode");
118+
void Function(ffi.Pointer<ffi.Void>)>("WaitForHelper");
119119

120120
void testWriteProtection() {
121121
waitForHelper(unprotectCode());

0 commit comments

Comments
 (0)