parse return types of functions

This commit is contained in:
Quentin Carbonneaux 2015-09-22 16:52:48 -04:00
parent 9db3c3cf3e
commit 98c5a405bb
3 changed files with 32 additions and 5 deletions

View file

@ -165,7 +165,10 @@ enum Op {
enum Jmp {
JXXX,
JRet,
JRet0,
JRetw,
JRetl,
JRetc,
JJmp,
JJnz,
JXJc,
@ -201,6 +204,7 @@ struct Blk {
struct {
short type;
Ref arg;
int rettyn;
} jmp;
Blk *s1;
Blk *s2;