diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-05-07 17:03:51 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-05-07 17:03:51 -0700 |
commit | bd90eaea7daae8c57d611becd897b8b5ed395fe5 (patch) | |
tree | a3691be7f382f9dd184c4d53f91f30e132f740f9 /src | |
parent | a3a8ac3af0a36ba35a6723b45340b9d826688951 (diff) | |
download | binaryen-bd90eaea7daae8c57d611becd897b8b5ed395fe5.tar.gz binaryen-bd90eaea7daae8c57d611becd897b8b5ed395fe5.tar.bz2 binaryen-bd90eaea7daae8c57d611becd897b8b5ed395fe5.zip |
fix block finalize(type) (#457)
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |