- a = new_simpleSel(
- get_store(),
- get_irg_globals(irg),
- new_entity(get_glob_type(),new_id_from_chars("VAR_A",6),prim_t_int));
- b = new_simpleSel(
- get_store(),
- get_irg_globals(irg),
- new_entity(get_glob_type(),new_id_from_chars("VAR_B",6),prim_t_int));
+ symbol.entity_p = new_entity(get_glob_type(),new_id_from_chars("VAR_A",6),prim_t_int);
+ a = new_SymConst(mode_P, symbol, symconst_addr_ent);
+
+ symbol.entity_p = new_entity(get_glob_type(),new_id_from_chars("VAR_B",6),prim_t_int);
+ b = new_SymConst(mode_P, symbol, symconst_addr_ent);