X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fwhile_example.c;h=7f62155932719010ab05eacc53c4d9d695311dc3;hb=6d3cc33efb41b34b6d392c489921855f32c9baf5;hp=8986af6b831edc290e7c2bb7c6fcc89ffc20ebf7;hpb=76572961989e62cef01b295c6c8af7460f6080dd;p=libfirm diff --git a/testprograms/while_example.c b/testprograms/while_example.c index 8986af6b8..7f6215593 100644 --- a/testprograms/while_example.c +++ b/testprograms/while_example.c @@ -21,9 +21,9 @@ /** * This file constructs the ir for the following pseudo-program: * -* main(int a) { // pos 0 -* int b = 1; // pos 1 -* int h; // pos 2 +* main(int a) { // pos 0 +* int b = 1; // pos 1 +* int h; // pos 2 * * while (0 == 2) loop { * h = a; @@ -83,7 +83,7 @@ main(void) r = new_immBlock (); add_in_edge (r, x); x = new_Cond (new_Proj(new_Cmp(new_Const (mode_Is, new_tarval_from_long (0, mode_Is)), - get_value(1, mode_Is)), + get_value(1, mode_Is)), mode_b, Eq)); f = new_Proj (x, mode_X, 0); t = new_Proj (x, mode_X, 1);