void lima_gp_ir_dep_info_delete(lima_gp_ir_dep_info_t* dep_info) { ptrset_remove(&dep_info->pred->succs, dep_info); ptrset_remove(&dep_info->succ->preds, dep_info); free(dep_info); }
void gds_lib_remove_struct(gds_lib_t *lib, gds_struct_t *str) { assert(lib && str); if (ptrset_remove(&lib->structs, str)) gds_struct_unref(str); }