From 705e2547e766d4fcaf5cd3209fcd2d5f20d668d9 Mon Sep 17 00:00:00 2001 From: Malte Stellmacher Date: Tue, 23 Jan 2024 13:34:22 +0100 Subject: [PATCH] Declare as static --- .../swa/trufflesqueak/nodes/plugins/ffi/InterpreterProxy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/InterpreterProxy.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/InterpreterProxy.java index 1e839d1b1..28d80c0e3 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/InterpreterProxy.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/nodes/plugins/ffi/InterpreterProxy.java @@ -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; }