From d9527e5bd488bc4845916cbc4fd33422072a0f99 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Fri, 8 Oct 2021 14:57:04 -0500 Subject: [PATCH] added printing type table --- src/wasm_type_table.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wasm_type_table.c b/src/wasm_type_table.c index b72fabab..96632740 100644 --- a/src/wasm_type_table.c +++ b/src/wasm_type_table.c @@ -466,6 +466,10 @@ u64 build_type_table(OnyxWasmModule* module) { } } + if (context.options->verbose_output == 1) { + bh_printf("Type table size: %d bytes.\n", table_buffer.length); + } + u32 offset = module->next_datum_offset; bh_align(offset, 8); -- 2.25.1