projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93f9d22
)
added printing type table
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Fri, 8 Oct 2021 19:57:04 +0000
(14:57 -0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Fri, 8 Oct 2021 19:57:04 +0000
(14:57 -0500)
src/wasm_type_table.c
patch
|
blob
|
history
diff --git
a/src/wasm_type_table.c
b/src/wasm_type_table.c
index b72fabab910421136e782421b1fd29303ae13939..966327409d04a6f0b932e96456e638c175a7394e 100644
(file)
--- 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);