parse return types of functions
This commit is contained in:
parent
9db3c3cf3e
commit
98c5a405bb
3 changed files with 32 additions and 5 deletions
|
@ -332,7 +332,7 @@ emitfn(Fn *fn, FILE *f)
|
|||
for (i=b->ins; i-b->ins < b->nins; i++)
|
||||
eins(*i, fn, f);
|
||||
switch (b->jmp.type) {
|
||||
case JRet:
|
||||
case JRet0:
|
||||
for (r=&rclob[NRClob]; r>rclob;)
|
||||
if (fn->reg & BIT(*--r))
|
||||
emitf(fn, f, "pop%w %R", 1, TMP(*r));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue