From f5007126f3140a8c932d393c5b217308b80bd46a Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sun, 20 Nov 2022 22:13:26 +0100 Subject: export getalias() We will be using it in the new coalesce() pass. --- alias.c | 2 +- all.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/alias.c b/alias.c index 01d77e8..19aca2a 100644 --- a/alias.c +++ b/alias.c @@ -1,6 +1,6 @@ #include "all.h" -static void +void getalias(Alias *a, Ref r, Fn *fn) { Con *c; diff --git a/all.h b/all.h index 43cdd62..8dd4276 100644 --- a/all.h +++ b/all.h @@ -518,6 +518,7 @@ void memopt(Fn *); /* alias.c */ void fillalias(Fn *); +void getalias(Alias *, Ref, Fn *); int alias(Ref, int, Ref, int, int *, Fn *); int escapes(Ref, Fn *); -- cgit 1.4.1