From 5494c531db30145e7bf8745b46e9784967781616 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 18 Apr 2016 11:52:07 -0700 Subject: remove the AllocatingModule class, and just make Module have allocations. the distinction is not really that useful, and passes do need to allocate, so we would need to pass around AllocatingModules all around anyhow. (#361) --- src/wasm-dis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-dis.cpp') diff --git a/src/wasm-dis.cpp b/src/wasm-dis.cpp index 5e1e61682..e2e103b46 100644 --- a/src/wasm-dis.cpp +++ b/src/wasm-dis.cpp @@ -44,7 +44,7 @@ int main(int argc, const char *argv[]) { auto input(read_file>(options.extra["infile"], Flags::Binary, options.debug ? Flags::Debug : Flags::Release)); if (options.debug) std::cerr << "parsing binary..." << std::endl; - AllocatingModule wasm; + Module wasm; WasmBinaryBuilder parser(wasm, input, options.debug); parser.read(); -- cgit v1.2.3