aet_entity_ident() added
[libfirm] / testprograms / if_while_example.c
index a88b65d..7cfaa96 100644 (file)
@@ -95,8 +95,8 @@ main(void)
   /* generate a block for the loop header and the conditional branch */
   r = new_immBlock ();
   add_immBlock_pred (r, x);
-  x = new_Cond (new_Proj(new_Cmp(new_Const (mode_Iu, new_tarval_from_long (0, mode_Is)),
-                                 new_Const (mode_Iu, new_tarval_from_long (0, mode_Is))),
+  x = new_Cond (new_Proj(new_Cmp(new_Const (mode_Iu, new_tarval_from_long (0, mode_Iu)),
+                                 new_Const (mode_Iu, new_tarval_from_long (0, mode_Iu))),
                          mode_b, pn_Cmp_Eq));
   f = new_Proj (x, mode_X, 0);
   t = new_Proj (x, mode_X, 1);