#include "../benode_t.h"
#include "../belower.h"
#include "../besched_t.h"
-#include "../be.h"
+#include "be.h"
#include "../beabi.h"
#include "../bemachine.h"
#include "../bemodule.h"
static
ir_entity *mips_get_frame_entity(const void *self, const ir_node *node) {
- mips_attr_t *attr;
+ const mips_attr_t *attr;
if(!is_mips_irn(node))
return NULL;
- attr = get_mips_attr(node);
+ attr = get_mips_attr_const(node);
return attr->stack_entity;
}
return NULL;
}
-/**
- * Called by the frontend to encode a register name into a backend specific way
- */
-static unsigned mips_register_from_name(const char *regname) {
- /* NYI */
- return 0;
-}
-
/**
* Returns the libFirm configuration parameter for this backend.
*/
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 */
- mips_register_from_name, /* register names */
};
p.dep_param = &ad;