diff options
Diffstat (limited to 'src/util/register_allocate.c')
-rw-r--r-- | src/util/register_allocate.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/register_allocate.c b/src/util/register_allocate.c index fe00af67283..b23bb377292 100644 --- a/src/util/register_allocate.c +++ b/src/util/register_allocate.c @@ -558,6 +558,13 @@ ra_set_node_class(struct ra_graph *g, } unsigned int +ra_get_node_class(struct ra_graph *g, + unsigned int n) +{ + return g->nodes[n].class; +} + +unsigned int ra_add_node(struct ra_graph *g, unsigned int class) { unsigned int n = g->count; |