summaryrefslogtreecommitdiff
path: root/6/locs.c
diff options
context:
space:
mode:
Diffstat (limited to '6/locs.c')
-rw-r--r--6/locs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/6/locs.c b/6/locs.c
index de110c7..a569e1e 100644
--- a/6/locs.c
+++ b/6/locs.c
@@ -67,6 +67,11 @@ Loc *loclbl(Node *e)
Loc **locmap = NULL;
size_t maxregid = 0;
+void resetregs()
+{
+ maxregid = Nreg;
+}
+
static Loc *locregid(regid id, Mode m)
{
Loc *l;