From bb41caeae0caf3ed1e9623efc5ed729136843b03 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Fri, 3 Dec 2021 15:12:45 -0500 Subject: [PATCH] refactor: Remove zombie table instruction --- runtime/compiletime/memory_instructions.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/runtime/compiletime/memory_instructions.c b/runtime/compiletime/memory_instructions.c index c52f820..347f15f 100644 --- a/runtime/compiletime/memory_instructions.c +++ b/runtime/compiletime/memory_instructions.c @@ -164,19 +164,3 @@ set_global_i64(uint32_t offset, int64_t v) { set_i64(offset, v); } - -// Table handling functionality -// 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]; - -// // FIXME: Commented out function type check because of gocr -// // assert(f.type_id == type_id); - -// assert(f.func_pointer); - -// return f.func_pointer; -// }