diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-01-11 20:40:55 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-01-11 20:58:53 -0800 |
commit | 686a8334090f57e1ba218e552819b3c6374059b5 (patch) | |
tree | f5dd8b43127fda4671eb4c7ce93440995525744e /src/wasm-binary.h | |
parent | efe369358fd6c8ede5145f12bfa511b515d2a32a (diff) | |
download | binaryen-686a8334090f57e1ba218e552819b3c6374059b5.tar.gz binaryen-686a8334090f57e1ba218e552819b3c6374059b5.tar.bz2 binaryen-686a8334090f57e1ba218e552819b3c6374059b5.zip |
refactor FunctionType to always be accessed from the Module's central store, which is necessary for simple binary writing
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 63a272d78..c67670c67 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -412,7 +412,7 @@ public: Name name, type; if (import) { name = import->name; - type = import->type.name; + type = import->type->name; } else { name = function->name; type = function->type; |