summary refs log tree commit diff
path: root/lisc/lisc.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-22 16:52:48 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-22 16:52:48 -0400
commit98c5a405bb34d69d1d8188f704226d24267fead6 (patch)
tree83aa8903782be71ce1eeee5f91e10cdfcbd033f7 /lisc/lisc.h
parent9db3c3cf3ee2bf332e129fc878ecc5bf67ca5dfe (diff)
downloadroux-98c5a405bb34d69d1d8188f704226d24267fead6.tar.gz
parse return types of functions
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r--lisc/lisc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index 43713a5..0678b13 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -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;