- array = new_Alloc(get_store(), arr_size, (type*)array_type, stack_alloc);
- set_store(new_Proj(array, mode_M, 0)); /* make the changed memory visible */
- array_ptr = new_Proj(array, mode_P, 2); /* remember the pointer to the array */
+ array = new_Alloc(get_store(), arr_size, (ir_type*)array_type, stack_alloc);
+ set_store(new_Proj(array, mode_M, pn_Alloc_M)); /* make the changed memory visible */
+ array_ptr = new_Proj(array, mode_P, pn_Alloc_res); /* remember the pointer to the array */