summaryrefslogtreecommitdiffhomepage
path: root/ir/be/TEMPLATE
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-25 22:18:35 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-08-04 16:17:29 +0200
commite15523524eefa5b0fb50f494817552d0e6e3be60 (patch)
tree721155ed9137f6d1c80f21bc2996037b38daf0a5 /ir/be/TEMPLATE
parent40cbede7f57ac0ad663cf3f8eab856cb3681c5ca (diff)
bescripts: Merge the attributes 'custominit' and 'init_attr' into the new attribute 'init'.
Diffstat (limited to 'ir/be/TEMPLATE')
-rw-r--r--ir/be/TEMPLATE/TEMPLATE_spec.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/ir/be/TEMPLATE/TEMPLATE_spec.pl b/ir/be/TEMPLATE/TEMPLATE_spec.pl
index e593d1a..f596071 100644
--- a/ir/be/TEMPLATE/TEMPLATE_spec.pl
+++ b/ir/be/TEMPLATE/TEMPLATE_spec.pl
@@ -20,7 +20,7 @@ $mode_fp = "mode_F"; # mode used by floatingpoint registers
# mode => "mode_Iu", # optional, predefines the mode
# emit => "emit code with templates", # optional for virtual nodes
# attr => "additional attribute arguments for constructor", # optional
-# init_attr => "emit attribute initialization template", # optional
+# init => "emit attribute initialization template", # optional
# hash_func => "name of the hash function for this operation", # optional, get the default hash function else
# attr_type => "name of the attribute struct", # optional
# },
@@ -155,10 +155,10 @@ Not => {
},
Const => {
- template => $constop,
- attr => "ir_entity *entity, ir_tarval *value",
- custominit => "set_TEMPLATE_value(res, entity, value);",
- emit => '%D0 = const %I',
+ template => $constop,
+ attr => "ir_entity *entity, ir_tarval *value",
+ init => "set_TEMPLATE_value(res, entity, value);",
+ emit => '%D0 = const %I',
},
# Control Flow