Skip to content

Commit

Permalink
Declare as static
Browse files Browse the repository at this point in the history
  • Loading branch information
DieKautz committed Jan 23, 2024
1 parent aa365c5 commit 705e254
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,12 @@ private Object getObjectOnStack(final long reverseStackIndex) {
return FrameAccess.getStackValue(frame, stackIndex, FrameAccess.getNumArguments(frame));
}

private long returnVoid() {
private static long returnVoid() {
// For functions that do not have a defined return value
return 0L;
}

private long returnNull() {
private static long returnNull() {
// For functions that should return null (=0)
return 0L;
}
Expand Down

0 comments on commit 705e254

Please sign in to comment.