- mature_block (irg->current_block);
-
- c = new_Add (new_Const (mode_i, tarval_from_long (mode_i, 5)),
- new_Const (mode_i, tarval_from_long (mode_i, 7)),
- mode_i);
- d = new_Add (new_Const (mode_i, tarval_from_long (mode_i, 7)),
- new_Const (mode_i, tarval_from_long (mode_i, 5)),
- mode_i);
+ mature_immBlock (get_irg_current_block(irg));
+
+ /* To test const eval on DivMod
+ c = new_DivMod(get_store(), a, b);
+ set_store(new_Proj(c, mode_M, 0));
+ d = new_Proj(c, mode_Is, 3);
+ c = new_Proj(c, mode_Is, 2);
+ */
+
+ c = new_Add (new_Const (mode_Is, new_tarval_from_long (5, mode_Is)),
+ new_Const (mode_Is, new_tarval_from_long (7, mode_Is)),
+ mode_Is);
+ d = new_Add (new_Const (mode_Is, new_tarval_from_long (7, mode_Is)),
+ new_Const (mode_Is, new_tarval_from_long (5, mode_Is)),
+ mode_Is);