From: Michael Beck Date: Wed, 3 Aug 2005 11:59:58 +0000 (+0000) Subject: changed mode_P_mach into mode_P_code X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=500f6795d704bc4408ffd59aceef8049ecb40654;p=libfirm changed mode_P_mach into mode_P_code [r6368] --- diff --git a/ir/tr/type.c b/ir/tr/type.c index a18e02c4f..68b0bd8af 100644 --- a/ir/tr/type.c +++ b/ir/tr/type.c @@ -1102,10 +1102,10 @@ build_value_type(ident *name, int len, type **tps) { type *new_type_method (ident *name, int n_param, int n_res) { type *res; - assert((get_mode_size_bytes(mode_P_mach) != -1) && "unorthodox modes not implemented"); - res = new_type(type_method, mode_P_mach, name); + assert((get_mode_size_bytes(mode_P_code) != -1) && "unorthodox modes not implemented"); + res = new_type(type_method, mode_P_code, name); res->state = layout_fixed; - res->size = get_mode_size_bits(mode_P_mach); + res->size = get_mode_size_bits(mode_P_code); res->attr.ma.n_params = n_param; res->attr.ma.param_type = xcalloc(n_param, sizeof(res->attr.ma.param_type[0])); res->attr.ma.value_params = NULL;