removed ppc32_register_from_name() callback
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Jun 2007 09:34:20 +0000 (09:34 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Jun 2007 09:34:20 +0000 (09:34 +0000)
add prefer_fastcall

[r14344]

ir/be/ppc32/bearch_ppc32.c

index aa590fa..7676adb 100644 (file)
@@ -887,14 +887,6 @@ static ir_graph **ppc32_get_irg_list(const void *self, ir_graph ***irg_list) {
        return NULL;
 }
 
-/**
- * Called by the frontend to encode a register name into a backend specific way
- */
-static unsigned ppc32_register_from_name(const char *regname) {
-       /* NYI */
-       return 0;
-}
-
 /**
  * Returns the libFirm configuration parameter for this backend.
  */
@@ -910,12 +902,12 @@ static const backend_params *ppc32_get_libfirm_params(void) {
        static backend_params p = {
                1,     /* need dword lowering */
                0,     /* don't support inlien assembler yet */
+               0,     /* no different calling conventions */
                NULL,  /* no additional opcodes */
                NULL,  /* will be set later */
                NULL,  /* but yet no creator function */
                NULL,  /* context for create_intrinsic_fkt */
                NULL,  /* no if conversion settings */
-               ppc32_register_from_name, /* register names */
        };
 
        p.dep_param = &ad;