From 686a8334090f57e1ba218e552819b3c6374059b5 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 11 Jan 2016 20:40:55 -0800 Subject: refactor FunctionType to always be accessed from the Module's central store, which is necessary for simple binary writing --- src/wasm-binary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-binary.h') 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; -- cgit v1.2.3