aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-21 16:40:28 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-21 16:40:28 +0000
commit5e38469d9a6e71a41fd3b489777af27172a85f9c (patch)
treeb0ab00544c44ee2b26af8da0c87e793316f77315 /src/main/java
parent55c51baeeda33447b94dab0c7621a9a7007f2ee8 (diff)
Remove unused field
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmBinaryWriter.java1
-rw-r--r--src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmRelocationEntry.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmBinaryWriter.java b/src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmBinaryWriter.java
index 299f2fb4..f13bd2f1 100644
--- a/src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmBinaryWriter.java
+++ b/src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmBinaryWriter.java
@@ -135,7 +135,6 @@ public class WasmBinaryWriter {
relocationEntries.put(sectionIndex, new ArrayList<>());
}
relocationEntries.get(sectionIndex).add(new WasmRelocationEntry(
- sectionIndex,
relocationType,
sectionContentsOffset,
index
diff --git a/src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmRelocationEntry.java b/src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmRelocationEntry.java
index 7e02821b..ab989ef5 100644
--- a/src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmRelocationEntry.java
+++ b/src/main/java/org/shedlang/compiler/backends/wasm/structure/binary/WasmRelocationEntry.java
@@ -3,7 +3,6 @@ package org.shedlang.compiler.backends.wasm.structure.binary;
import org.shedlang.compiler.backends.wasm.structure.ast.linking.WasmRelocatableIndex;
public record WasmRelocationEntry(
- int sectionIndex,
WasmRelocationType type,
int sectionContentsOffset,
WasmRelocatableIndex index