summaryrefslogtreecommitdiffhomepage
path: root/ir/be/mips
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-02-27 09:08:27 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2018-02-28 07:45:02 +0100
commitb87cc32979eb8731f9fdc27160b7f1e7612f13e7 (patch)
treef2cce664b7220348f6f85e00444f55b1a15f4c54 /ir/be/mips
parent67147cdca5199050cae509c0b87189e951c0427f (diff)
be: Automatically use be_info_init_irn().
So far each backend had to call it manually.
Diffstat (limited to 'ir/be/mips')
-rw-r--r--ir/be/mips/mips_spec.pl12
1 files changed, 4 insertions, 8 deletions
diff --git a/ir/be/mips/mips_spec.pl b/ir/be/mips/mips_spec.pl
index 9a5703c..1a20ca0 100644
--- a/ir/be/mips/mips_spec.pl
+++ b/ir/be/mips/mips_spec.pl
@@ -46,18 +46,14 @@ my $mode_gp = "mode_Iu"; # TODO
);
%init_attr = (
- mips_attr_t =>
- "be_info_init_irn(res, irn_flags, in_reqs, n_res);",
+ mips_attr_t => "",
mips_cond_attr_t =>
- "be_info_init_irn(res, irn_flags, in_reqs, n_res);\n".
- "\tattr->cond = cond;",
+ "attr->cond = cond;",
mips_immediate_attr_t =>
- "be_info_init_irn(res, irn_flags, in_reqs, n_res);\n".
- "\tattr->ent = ent;\n".
+ "attr->ent = ent;\n".
"\tattr->val = val;",
mips_switch_attr_t =>
- "be_info_init_irn(res, irn_flags, in_reqs, n_res);\n".
- "\tbe_switch_attr_init(res, &attr->swtch, table, table_entity);\n",
+ "be_switch_attr_init(res, &attr->swtch, table, table_entity);",
);
my $binOp = {