diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-03 21:18:56 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-03 21:18:56 -0800 |
commit | a0de6e95733602f7f246bb537af79e87c4a6070a (patch) | |
tree | 91c0882c1ff91dc8e028904197a4a36ec10274cd /src/asm2wasm.h | |
parent | 48d593f3ba3505a60a6f37bc244998b8562e6137 (diff) | |
download | binaryen-a0de6e95733602f7f246bb537af79e87c4a6070a.tar.gz binaryen-a0de6e95733602f7f246bb537af79e87c4a6070a.tar.bz2 binaryen-a0de6e95733602f7f246bb537af79e87c4a6070a.zip |
factor out float_
Diffstat (limited to 'src/asm2wasm.h')
-rw-r--r-- | src/asm2wasm.h | 4 |
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); |