projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added stickyness
[libfirm]
/
testprograms
/
three_cfpred_example.c
diff --git
a/testprograms/three_cfpred_example.c
b/testprograms/three_cfpred_example.c
index
eb8a1b5
..
2c283a1
100644
(file)
--- a/
testprograms/three_cfpred_example.c
+++ b/
testprograms/three_cfpred_example.c
@@
-29,7
+29,7
@@
* Block1 scnCondBlock
* | | |
* | | |
* Block1 scnCondBlock
* | | |
* | | |
- *
| \ / \ /
+ * | \ / \ /
* | Block2 Block3
* \ | /
* \ | /
* | Block2 Block3
* \ | /
* \ | /
@@
-40,9
+40,9
@@
* This is a program as, e.g.,
*
* if () then
* This is a program as, e.g.,
*
* if () then
- * { Jmp label1; } // happens anyways
+ * { Jmp label1; } //
happens anyways
* else
* else
- * { Jmp label1; } // happens anyways
+ * { Jmp label1; } //
happens anyways
* label1:
* return();
* Jmp label1;
* label1:
* return();
* Jmp label1;
@@
-79,7
+79,7
@@
int main(int argc, char **argv)
owner = get_glob_type();
proc_main = new_type_method(id_from_str(METHODNAME, strlen(METHODNAME)),
owner = get_glob_type();
proc_main = new_type_method(id_from_str(METHODNAME, strlen(METHODNAME)),
-
NRARGS, NRES);
+ NRARGS, NRES);
set_method_param_type(proc_main, 0, prim_t_int);
set_method_res_type(proc_main, 0, prim_t_int);
set_method_param_type(proc_main, 0, prim_t_int);
set_method_res_type(proc_main, 0, prim_t_int);