* @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 */
} 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) */
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.