From bd90eaea7daae8c57d611becd897b8b5ed395fe5 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 7 May 2016 17:03:51 -0700 Subject: fix block finalize(type) (#457) --- src/wasm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wasm.h b/src/wasm.h index 049dc2e30..2e3a63105 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -913,7 +913,7 @@ public: // set the type of a block if you already know it void finalize(WasmType type_) { - type = type; + type = type_; } // set the type of a block based on its contents. this scans the block, so it is not fast -- cgit v1.2.3