X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2FTEMPLATE%2Fbearch_TEMPLATE.c;h=90cefe6b0694ed477c9c879bbf568dee6ec90317;hb=fc2759fa267ba4b074c2ac570c1b9d47cc943612;hp=ee1b14f82b1390f5c0d98c4133ef8f810fdc7e5c;hpb=1894b7dd99b524c25c8fa18c33c250ea2cde2e36;p=libfirm diff --git a/ir/be/TEMPLATE/bearch_TEMPLATE.c b/ir/be/TEMPLATE/bearch_TEMPLATE.c index ee1b14f82..90cefe6b0 100644 --- a/ir/be/TEMPLATE/bearch_TEMPLATE.c +++ b/ir/be/TEMPLATE/bearch_TEMPLATE.c @@ -496,11 +496,12 @@ static void TEMPLATE_abi_dont_save_regs(void *self, pset *s) * Build the prolog, return the BASE POINTER register */ static const arch_register_t *TEMPLATE_abi_prologue(void *self, ir_node **mem, - pmap *reg_map) + pmap *reg_map, int *stack_bias) { TEMPLATE_abi_env_t *env = self; (void) reg_map; (void) mem; + (void) stack_bias; if(env->flags.try_omit_fp) return env->arch_env->sp; @@ -670,6 +671,20 @@ static ir_graph **TEMPLATE_get_backend_irg_list(const void *self, return NULL; } +static asm_constraint_flags_t TEMPLATE_parse_asm_constraint(const void *self, + const char **c) +{ + (void) self; + (void) c; + return ASM_CONSTRAINT_FLAG_INVALID; +} + +static int TEMPLATE_is_valid_clobber(const void *self, const char *clobber) +{ + (void) self; + (void) clobber; + return 0; +} const arch_isa_if_t TEMPLATE_isa_if = { TEMPLATE_init, @@ -685,7 +700,9 @@ const arch_isa_if_t TEMPLATE_isa_if = { TEMPLATE_get_backend_params, TEMPLATE_get_allowed_execution_units, TEMPLATE_get_machine, - TEMPLATE_get_backend_irg_list + TEMPLATE_get_backend_irg_list, + TEMPLATE_parse_asm_constraint, + TEMPLATE_is_valid_clobber }; void be_init_arch_TEMPLATE(void)