Go to the previous, next section.

Example of Creating SUIF

        block i(block::new_sym(cst_int, "i"));
        block assign(i = i * block(-1));
        block test(i >= block(0));
        instruction * ins_a = assign.make_instruction();
        instruction * ins_t = test.make_instruction();

        block chk(block::IF(test, assign));
        tree_node * tn_chk = chk.make_tree_node();

        block chk_add(chk, 
                      block(i = i + block(0)));
        tree_node_list * tnl_chk_add = chk_add.make_tree_node_list();

Go to the previous, next section.