diff options
| author | Quentin Carbonneaux <[email protected]> | 2016-03-31 17:17:09 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2016-03-31 17:17:09 -0400 |
| commit | 0a81036fa2dfeb44befad86f0bf3e48b2f4ffed9 (patch) | |
| tree | b1078a98f83abe0bfb106b81fcdab7fa2ab75b91 /all.h | |
| parent | 729aa97b799f72afdec3604f96526760701f36bc (diff) | |
move abi code in a new file
Diffstat (limited to 'all.h')
| -rw-r--r-- | all.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 */ |
