diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2022-11-20 22:13:26 +0100 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-11-20 22:13:44 +0100 |
commit | f5007126f3140a8c932d393c5b217308b80bd46a (patch) | |
tree | bd20a170071acf950ef5b79d04afe8c73126a477 | |
parent | a70aa044ded9402ec107920e97aea3cfdc4f5964 (diff) | |
download | roux-f5007126f3140a8c932d393c5b217308b80bd46a.tar.gz |
export getalias()
We will be using it in the new coalesce() pass.
-rw-r--r-- | alias.c | 2 | ||||
-rw-r--r-- | all.h | 1 |
2 files changed, 2 insertions, 1 deletions
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 *); |