From: Brendan Hansen Date: Fri, 8 Oct 2021 19:57:04 +0000 (-0500) Subject: added printing type table X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=d9527e5bd488bc4845916cbc4fd33422072a0f99;p=onyx.git added printing type table --- 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);