From 5e38469d9a6e71a41fd3b489777af27172a85f9c Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 21 Dec 2023 16:40:28 +0000 Subject: Remove unused field --- .../compiler/backends/wasm/structure/binary/WasmBinaryWriter.java | 1 - .../compiler/backends/wasm/structure/binary/WasmRelocationEntry.java | 1 - 2 files changed, 2 deletions(-) (limited to 'src/main/java') 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 -- cgit v1.2.3