From 651eeeb868335929372704ae4624fb9ab5a2fba2 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Mon, 27 Sep 2021 21:33:37 -0400 Subject: [PATCH] chore: Comment compiletime get_function_from_table --- runtime/compiletime/memory/64bit_nix.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/runtime/compiletime/memory/64bit_nix.c b/runtime/compiletime/memory/64bit_nix.c index 7d28c02..c52f820 100644 --- a/runtime/compiletime/memory/64bit_nix.c +++ b/runtime/compiletime/memory/64bit_nix.c @@ -166,17 +166,17 @@ set_global_i64(uint32_t offset, int64_t v) } // Table handling functionality -INLINE char * -get_function_from_table(uint32_t idx, uint32_t type_id) -{ - assert(idx < INDIRECT_TABLE_SIZE); +// INLINE char * +// get_function_from_table(uint32_t idx, uint32_t type_id) +// { +// assert(idx < INDIRECT_TABLE_SIZE); - struct indirect_table_entry f = local_sandbox_context_cache.module_indirect_table[idx]; +// struct indirect_table_entry f = local_sandbox_context_cache.module_indirect_table[idx]; - // FIXME: Commented out function type check because of gocr - // assert(f.type_id == type_id); +// // FIXME: Commented out function type check because of gocr +// // assert(f.type_id == type_id); - assert(f.func_pointer); +// assert(f.func_pointer); - return f.func_pointer; -} +// return f.func_pointer; +// }