+ // Pass function table info
+ newCode.add(COMMENT("Pass function table info"));
+ String structName = "anno_func_table_init", anno = "func_init";
+ newCode.add(DECLARE(ANNO_FUNC_TABLE_INIT, structName));
+ newCode.add(ASSIGN(structName, "size", "INTERFACE_SIZE"));
+ newCode.add(ASSIGN(structName, "table", "func_ptr_table"));
+ newCode.add(DECLARE(SPEC_ANNOTATION, anno));
+ newCode.add(ASSIGN(anno, "type", SPEC_ANNO_TYPE_FUNC_TABLE_INIT));
+ newCode.add(ASSIGN_PTR(anno, "annotation", structName));
+ newCode.add(ANNOTATE(anno));
+