From f646dbde5e485c88dd904b95d962e1b8674395d5 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 4 Dec 2015 16:20:04 -0800 Subject: get wasm2asm to start printing --- src/wasm2asm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wasm2asm.h') diff --git a/src/wasm2asm.h b/src/wasm2asm.h index ca2bed20c..e26652963 100644 --- a/src/wasm2asm.h +++ b/src/wasm2asm.h @@ -132,6 +132,7 @@ private: Ref Wasm2AsmBuilder::processWasm(Module* wasm) { Ref ret = ValueBuilder::makeToplevel(); Ref asmFunc = ValueBuilder::makeFunction(ASM_FUNC); + ret[1]->push_back(asmFunc); // imports XXX // exports XXX // functions -- cgit v1.2.3