Skip to content

Commit ce63e19

Browse files
committed
Children fields can be final.
1 parent e4577f1 commit ce63e19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wasm/src/org.graalvm.wasm/src/org/graalvm/wasm/nodes/WasmFunctionNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ public final class WasmFunctionNode extends Node implements BytecodeOSRNode {
128128
private final WasmModule module;
129129
private final WasmCodeEntry codeEntry;
130130

131-
@Children private Node[] callNodes;
131+
@Children private final Node[] callNodes;
132132
@CompilationFinal private Object osrMetadata;
133133

134134
private final int bytecodeStartOffset;
135135
private final int bytecodeEndOffset;
136136
@CompilationFinal(dimensions = 1) private final byte[] bytecode;
137137
@CompilationFinal private WasmNotifyFunction notifyFunction;
138138

139-
@Children private WasmMemoryLibrary[] memoryLibs;
139+
@Children private final WasmMemoryLibrary[] memoryLibs;
140140

141141
public WasmFunctionNode(WasmModule module, WasmCodeEntry codeEntry, int bytecodeStartOffset, int bytecodeEndOffset, Node[] callNodes, WasmMemoryLibrary[] memoryLibs) {
142142
this.module = module;

0 commit comments

Comments
 (0)