summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-binary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
-rw-r--r--src/wasm/wasm-binary.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp
index f58c4f783..ae0e24759 100644
--- a/src/wasm/wasm-binary.cpp
+++ b/src/wasm/wasm-binary.cpp
@@ -4041,12 +4041,6 @@ bool WasmBinaryBuilder::maybeVisitLoad(Expression*& out,
Load* curr;
auto allocate = [&]() {
curr = allocator.alloc<Load>();
- // The signed field does not matter in some cases (where the size of the
- // load is equal to the size of the type, in which case we do not extend),
- // but give it a default value nonetheless, to make hashing and other code
- // simpler, so that they do not need to consider whether the sign matters or
- // not.
- curr->signed_ = false;
};
if (!isAtomic) {
switch (code) {