From: Michael Beck Date: Wed, 6 Jun 2007 09:32:58 +0000 (+0000) Subject: removed ia32_register_from_name() callback X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e5ba071f5274670899cc08bb6c165662380a3eb5;p=libfirm removed ia32_register_from_name() callback add prefer_fastcall [r14342] --- diff --git a/ir/be/ia32/bearch_ia32.c b/ir/be/ia32/bearch_ia32.c index 599ac14dd..5f5bbd536 100644 --- a/ir/be/ia32/bearch_ia32.c +++ b/ir/be/ia32/bearch_ia32.c @@ -1927,14 +1927,6 @@ static int ia32_is_psi_allowed(ir_node *sel, ir_node *phi_list, int i, int j) return 1; } -/** - * Called by the frontend to encode a register name into a backend specific way - */ -static unsigned ia32_register_from_name(const char *regname) { - /* NYI */ - return 0; -} - static ia32_intrinsic_env_t intrinsic_env = { NULL, /**< the irg, these entities belong to */ NULL, /**< entity for first div operand (move into FPU) */ @@ -1963,12 +1955,12 @@ static const backend_params *ia32_get_libfirm_params(void) { static backend_params p = { 1, /* need dword lowering */ 1, /* support inline assembly */ + 1, /* prefer fastcall calling convention */ NULL, /* no additional opcodes */ NULL, /* will be set later */ ia32_create_intrinsic_fkt, &intrinsic_env, /* context for ia32_create_intrinsic_fkt */ NULL, /* will be set later */ - ia32_register_from_name, /* register names */ }; p.dep_param = &ad;