Skip to content

Commit 1d2f429

Browse files
authored
Merge pull request #19982 from dchopra001/ffi_fix
Don't make upcall helper methods static on Z
2 parents 4e0a8c8 + beac573 commit 1d2f429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/oti/FFIUpcallThunkGenHelpers.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ AFI(I_8 *instructionPtr, I_32 sourceRegister, I_32 immediateInteger)
374374
* Generates a sequence of instructions to copy data from a Java MemorySegment Object to a C struct.
375375
* The struct is smaller than or equal to 4096 bytes.
376376
*/
377-
static I_32
377+
I_32
378378
generateSmallStructCopyInstructions(I_8 *instructionPtr, I_32 structSize, I_32 offsetToParameterArea, I_32 sourceRegister, I_32 destinationRegister)
379379
{
380380
I_32 totalInstructionSize = 0;
@@ -400,7 +400,7 @@ generateSmallStructCopyInstructions(I_8 *instructionPtr, I_32 structSize, I_32 o
400400
* Generates a sequence of instructions to copy data from a Java MemorySegment Object to a C struct.
401401
* The struct is larger than 4096 bytes.
402402
*/
403-
static I_32
403+
I_32
404404
generateLargeStructCopyInstructions(I_8 *instructionPtr, I_32 structSize, I_32 offsetToParameterArea, I_32 sourceRegister, I_32 destinationRegister)
405405
{
406406
I_32 totalInstructionSize = 0;

0 commit comments

Comments
 (0)