aboutsummaryrefslogtreecommitdiff
path: root/all.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2016-03-31 17:17:09 -0400
committerQuentin Carbonneaux <[email protected]>2016-03-31 17:17:09 -0400
commit0a81036fa2dfeb44befad86f0bf3e48b2f4ffed9 (patch)
treeb1078a98f83abe0bfb106b81fcdab7fa2ab75b91 /all.h
parent729aa97b799f72afdec3604f96526760701f36bc (diff)
move abi code in a new file
Diffstat (limited to 'all.h')
-rw-r--r--all.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/all.h b/all.h
index 51b641a..a140ef4 100644
--- a/all.h
+++ b/all.h
@@ -495,6 +495,7 @@ void *vnew(ulong, size_t);
void vgrow(void *, ulong);
int phicls(int, Tmp *);
Ref newtmp(char *, int, Fn *);
+void chuse(Ref, int, Fn *);
Ref getcon(int64_t, Fn *);
void addcon(Con *, Con *);
void dumpts(BSet *, Tmp *, FILE *);
@@ -541,11 +542,14 @@ void copy(Fn *);
void liveon(BSet *, Blk *, Blk *);
void filllive(Fn *);
-/* isel.c */
+/* abi: sysv.c */
extern int rsave[/* NRSave */];
extern int rclob[/* NRClob */];
bits retregs(Ref, int[2]);
bits argregs(Ref, int[2]);
+void abi(Fn *);
+
+/* isel.c */
void isel(Fn *);
/* spill.c */