summaryrefslogtreecommitdiff
path: root/src/asm2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm2wasm.h')
-rw-r--r--src/asm2wasm.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h
index 4d12a66f1..e9b0ce2c6 100644
--- a/src/asm2wasm.h
+++ b/src/asm2wasm.h
@@ -602,7 +602,6 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) {
MappedGlobal global = mappedGlobals[name];
auto ret = allocator.alloc<Store>();
ret->bytes = getWasmTypeSize(global.type);
- ret->float_ = isWasmTypeFloat(global.type);
ret->offset = 0;
ret->align = ret->bytes;
auto ptr = allocator.alloc<Const>();
@@ -620,7 +619,6 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) {
View& view = views[heap];
auto ret = allocator.alloc<Store>();
ret->bytes = view.bytes;
- ret->float_ = !view.integer;
ret->offset = 0;
ret->align = view.bytes;
ret->ptr = processUnshifted(target[2], view.bytes);
@@ -681,7 +679,6 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) {
auto ret = allocator.alloc<Load>();
ret->bytes = getWasmTypeSize(global.type);
ret->signed_ = true; // but doesn't matter
- ret->float_ = isWasmTypeFloat(global.type);
ret->offset = 0;
ret->align = ret->bytes;
auto ptr = allocator.alloc<Const>();
@@ -699,7 +696,6 @@ Function* Asm2WasmBuilder::processFunction(Ref ast) {
auto ret = allocator.alloc<Load>();
ret->bytes = view.bytes;
ret->signed_ = view.signed_;
- ret->float_ = !view.integer;
ret->offset = 0;
ret->align = view.bytes;
ret->ptr = processUnshifted(ast[2], view.bytes);