Skip to content

Commit

Permalink
Fix issue with native benchmark lib
Browse files Browse the repository at this point in the history
  • Loading branch information
mcimadamore committed Oct 25, 2024
1 parent e0371b2 commit 72b2239
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ public void tearDown() {
), Linker.Option.critical(true))
.bindTo(LOOKUP.find("noop_params5").orElseThrow());

// void noop_params10(int param0, int param1, void *param2, void *param3, void *param4,
// int param5, int param6, void *param7, void *param8, void *param9) {}
// void noop_params10(void *param0, void *param1, void *param2, void *param3, void *param4,
// void *param5, void *param6, void *param7, void *param8, void *param9) {}
private static final MethodHandle MH_NOOP_PARAMS10 = Linker.nativeLinker()
.downcallHandle(FunctionDescriptor.ofVoid(
ValueLayout.ADDRESS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ EXPORT void noop_params1(void *param0) {}
EXPORT void noop_params2(void *param0, void *param1) {}
EXPORT void noop_params3(void *param0, void *param1, void *param2) {}
EXPORT void noop_params4(void *param0, void *param1, void *param2, void *param3) {}
EXPORT void noop_params5(int param0, int param1, void *param2, void *param3, void *param4) {}
EXPORT void noop_params10(int param0, int param1, void *param2, void *param3, void *param4,
int param5, int param6, void *param7, void *param8, void *param9) {}
EXPORT void noop_params5(void *param0, void *param1, void *param2, void *param3, void *param4) {}
EXPORT void noop_params10(void *param0, void *param1, void *param2, void *param3, void *param4,
void *param5, void *param6, void *param7, void *param8, void *param9) {}

0 comments on commit 72b2239

Please sign in to comment.