X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fthree_cfpred_example.c;h=2c283a1636dd7feeec5d653c03d1c122fec337a4;hb=94bbcab3411b7f309d30759258697f207509273c;hp=c6edb4dfdd9b073bba80457f8598c3dabb9146c6;hpb=76572961989e62cef01b295c6c8af7460f6080dd;p=libfirm diff --git a/testprograms/three_cfpred_example.c b/testprograms/three_cfpred_example.c index c6edb4dfd..2c283a163 100644 --- a/testprograms/three_cfpred_example.c +++ b/testprograms/three_cfpred_example.c @@ -29,7 +29,7 @@ * Block1 scnCondBlock * | | | * | | | - * | \ / \ / + * | \ / \ / * | Block2 Block3 * \ | / * \ | / @@ -40,9 +40,9 @@ * This is a program as, e.g., * * if () then - * { Jmp label1; } // happens anyways + * { Jmp label1; } // happens anyways * else - * { Jmp label1; } // happens anyways + * { Jmp label1; } // happens anyways * label1: * return(); * Jmp label1; @@ -75,11 +75,11 @@ int main(int argc, char **argv) #define METHODNAME "THREE_CFPRED_EXAMPLE_main" #define NRARGS 1 #define NRES 1 - printf("\nCreating an IR graph: ...\n"); + printf("\nCreating an IR graph: THREE_CFPRED_EXAMPLE ...\n"); 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);