diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-21 17:47:22 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-21 17:47:22 +0200 |
commit | 155e9b30b135a99b42e0f42e9062c266f527df4b (patch) | |
tree | 1189f07c4e7eef8e97dff1cd94e0dd46df5a70db /tools/parse_module.c | |
parent | c75dcab5988f5c0b5e0629015f384e5aa1440690 (diff) | |
download | AGH-engineering-thesis-155e9b30b135a99b42e0f42e9062c266f527df4b.tar.gz AGH-engineering-thesis-155e9b30b135a99b42e0f42e9062c266f527df4b.zip |
use function pointer array in Wasm opcode translation
Diffstat (limited to 'tools/parse_module.c')
-rw-r--r-- | tools/parse_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/parse_module.c b/tools/parse_module.c index c9a5b12..7c54144 100644 --- a/tools/parse_module.c +++ b/tools/parse_module.c @@ -273,6 +273,7 @@ int parse_function_section(FILE *handle, struct module *module) } funcs[i].type = module->functypes + i; + funcs[i].translated_body = NULL; } module->functions_count = funcs_count; |