summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2019-03-19 08:45:48 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2019-03-19 17:15:40 +0100
commit4ed304e1e3d54c20cb00bbb1c26ad7b1eadfebbb (patch)
tree62a0b344554987f06e3dc5c1051f3e44c3314a6b /ir/be/bearch.c
parentd9e915ec4a29fc815530522589243a0a0dfc00ff (diff)
be: Add the typedef 'be_add_pressure_t' for additional register pressure.
Diffstat (limited to 'ir/be/bearch.c')
-rw-r--r--ir/be/bearch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/bearch.c b/ir/be/bearch.c
index 0c21b1d..05edd5e 100644
--- a/ir/be/bearch.c
+++ b/ir/be/bearch.c
@@ -127,7 +127,7 @@ arch_register_t const *arch_find_register(char const *const name)
void arch_set_additional_pressure(ir_node *const node,
arch_register_class_t const *const cls,
- uint8_t const pressure)
+ be_add_pressure_t const pressure)
{
backend_info_t *const info = be_get_info(node);
/* restricted to the first few classes for now */
@@ -136,8 +136,7 @@ void arch_set_additional_pressure(ir_node *const node,
info->add_pressure[index] = pressure;
}
-uint8_t arch_get_additional_pressure(ir_node const *const node,
- arch_register_class_t const *const cls)
+be_add_pressure_t arch_get_additional_pressure(ir_node const *const node, arch_register_class_t const *const cls)
{
backend_info_t *const info = be_get_info(node);
/* restricted to the first few classes for now */