projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed the INPLACE_EDGES option. They are now always available
[libfirm]
/
testprograms
/
identify_types.c
diff --git
a/testprograms/identify_types.c
b/testprograms/identify_types.c
index
48f12e7
..
0a1b706
100644
(file)
--- a/
testprograms/identify_types.c
+++ b/
testprograms/identify_types.c
@@
-32,9
+32,12
@@
int main(int argc, char **argv)
/** init library */
firm_parameter_t params;
/** init library */
firm_parameter_t params;
+ type_identify_if_t params2;
memset (¶ms, 0, sizeof(params));
params.size = sizeof(params);
memset (¶ms, 0, sizeof(params));
params.size = sizeof(params);
- params.compare_types_func = compare_names;
+ params2.cmp = compare_names;
+ params2.hash = NULL;
+ params.ti_if = ¶ms2;
init_firm(¶ms);
init_firm(¶ms);
@@
-59,7
+62,7
@@
int main(int argc, char **argv)
*/
printf("Done building the graph. Dumping it.\n");
*/
printf("Done building the graph. Dumping it.\n");
- dump_all_types();
+ dump_all_types(
0
);
printf("use xvcg to view this graph:\n");
printf("/ben/goetz/bin/xvcg GRAPHNAME\n\n");
printf("use xvcg to view this graph:\n");
printf("/ben/goetz/bin/xvcg GRAPHNAME\n\n");