The function regno() is unused since a very long time and replaced by show_pseudo(). So, remove this function. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- linearize.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/linearize.c b/linearize.c index d0b0d3a8e..415bf7e50 100644 --- a/linearize.c +++ b/linearize.c @@ -87,14 +87,6 @@ static struct multijmp *alloc_multijmp(struct basic_block *target, long long beg return multijmp; } -static inline int regno(pseudo_t n) -{ - int retval = -1; - if (n && n->type == PSEUDO_REG) - retval = n->nr; - return retval; -} - const char *show_label(struct basic_block *bb) { static int n; -- 2.20.0