From a0de6e95733602f7f246bb537af79e87c4a6070a Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 3 Nov 2015 21:18:56 -0800 Subject: factor out float_ --- src/wasm.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/wasm.h') diff --git a/src/wasm.h b/src/wasm.h index 7c9e2a6c0..448e4e71b 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -489,14 +489,13 @@ public: unsigned bytes; bool signed_; - bool float_; // XXX remove? int offset; unsigned align; Expression *ptr; std::ostream& doPrint(std::ostream &o, unsigned indent) { o << '('; - prepareColor(o) << printWasmType(getWasmType(bytes, float_)) << ".load"; + prepareColor(o) << printWasmType(type) << ".load"; if (bytes < 4) { if (bytes == 1) { o << '8'; @@ -521,14 +520,13 @@ public: Store() : Expression(StoreId) {} unsigned bytes; - bool float_; int offset; unsigned align; Expression *ptr, *value; std::ostream& doPrint(std::ostream &o, unsigned indent) { o << '('; - prepareColor(o) << printWasmType(getWasmType(bytes, float_)) << ".store"; + prepareColor(o) << printWasmType(type) << ".store"; if (bytes < 4) { if (bytes == 1) { o << '8'; -- cgit v1.2.3