projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed ir_vrfy and vrfy_graph to irn_vrfy and irg_vrfy!
[libfirm]
/
testprograms
/
empty.c
diff --git
a/testprograms/empty.c
b/testprograms/empty.c
index
117b1d0
..
8198b64
100644
(file)
--- a/
testprograms/empty.c
+++ b/
testprograms/empty.c
@@
-82,6
+82,9
@@
int main(int argc, char **argv)
/* Now we can mature the end block as all it's predecessors are known. */
mature_block (irg->end_block);
/* Now we can mature the end block as all it's predecessors are known. */
mature_block (irg->end_block);
+ /* verify the graph */
+ irg_vrfy(irg);
+
printf("\nDone building the graph. Dumping it.\n");
dump_ir_block_graph (irg);
printf("\nDone building the graph. Dumping it.\n");
dump_ir_block_graph (irg);
@@
-89,6
+92,4
@@
int main(int argc, char **argv)
printf("/ben/goetz/bin/xvcg GRAPHNAME\n");
return (0);
printf("/ben/goetz/bin/xvcg GRAPHNAME\n");
return (0);
-
-
}
}