|
|
@ -109,7 +109,8 @@ get_function_from_table(uint32_t idx, uint32_t type_id)
|
|
|
|
#ifdef LOG_FUNCTION_TABLE
|
|
|
|
#ifdef LOG_FUNCTION_TABLE
|
|
|
|
fprintf(stderr, "assumed type: %u, type in table: %u\n", type_id, f.type_id);
|
|
|
|
fprintf(stderr, "assumed type: %u, type in table: %u\n", type_id, f.type_id);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
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 != NULL);
|
|
|
|
assert(f.func_pointer != NULL);
|
|
|
|
|
|
|
|
|
|
|
|