ident *init_name = new_id_from_str("__init_firmprof");
ir_type *init_type = new_type_method(init_name, 3, 0);
ir_type *uint, *uintptr;
ident *init_name = new_id_from_str("__init_firmprof");
ir_type *init_type = new_type_method(init_name, 3, 0);
ir_type *uint, *uintptr;
uintptr = new_type_pointer(new_id_from_str("__uintptr"), uint, mode_P);
set_method_param_type(init_type, 0, uintptr);
set_method_param_type(init_type, 1, uintptr);
set_method_param_type(init_type, 2, uint);
uintptr = new_type_pointer(new_id_from_str("__uintptr"), uint, mode_P);
set_method_param_type(init_type, 0, uintptr);
set_method_param_type(init_type, 1, uintptr);
set_method_param_type(init_type, 2, uint);
- symconst = new_r_SymConst(irg, start_block, sym, symconst_addr_ent);
+ symconst = new_r_SymConst(irg, start_block, sym, symconst_addr_ent);
sym.entity_p = bblock_id;
ins[0] = new_r_SymConst(irg, start_block, sym, symconst_addr_ent);
sym.entity_p = bblock_id;
ins[0] = new_r_SymConst(irg, start_block, sym, symconst_addr_ent);