commit ae3e85c7ba2336037b6fed534e732b3b43934698
parent 88fc3500f2e31f5f1cd4bdf4c42440bf0e708e7f
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 11 Dec 2024 11:14:49 +0100
cc2/qbe: Rename swtch_if() to swtch()
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cmd/scc-cc/cc2/qbe/cgen.c b/src/cmd/scc-cc/cc2/qbe/cgen.c
@@ -484,7 +484,7 @@ function(void)
}
static void
-swtch_if(Node *idx)
+swtch(Node *idx)
{
Node aux1, aux2, *np;
Symbol *deflabel = NULL;
@@ -778,7 +778,7 @@ cgen(Node *np)
break;
case OBSWITCH:
p = rhs(np->left);
- swtch_if(p);
+ swtch(p);
break;
default:
rhs(np);