tv: Remove mul_table[][][] and simply use * and <<.
[libfirm] / ir / be / sparc / sparc_cconv.h
index 7be21cb..6202ee2 100644 (file)
  * @file
  * @brief   support functions for calling conventions
  * @author  Matthias Braun
- * @version $Id$
  */
 #ifndef FIRM_BE_SPARC_SPARC_CCONV_H
 #define FIRM_BE_SPARC_SPARC_CCONV_H
 
 #include "firm_types.h"
-#include "../be_types.h"
-#include "../benode.h"
+#include "bearch_sparc_t.h"
+#include "be_types.h"
+#include "benode.h"
 #include "gen_sparc_regalloc_if.h"
 
 /** information about a single parameter or result */
@@ -50,7 +50,7 @@ typedef struct reg_or_stackslot_t
 } reg_or_stackslot_t;
 
 /** The calling convention info for one call site. */
-typedef struct calling_convention_t
+struct calling_convention_t
 {
        bool                omit_fp;          /**< do not use frame pointer (and no
                                                   save/restore) */
@@ -61,7 +61,7 @@ typedef struct calling_convention_t
        reg_or_stackslot_t *results;          /**< result info. */
        unsigned            n_reg_results;
        unsigned           *caller_saves;     /**< bitset of caller save registers */
-} calling_convention_t;
+};
 
 /**
  * Determine how function parameters and return values are passed.