From 3080d1149ad3838f053d5d4faad25f24555337ef Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 10 Jul 2020 16:23:31 -0400 Subject: fixed problem unveiled by making types smaller --- types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'types.h') diff --git a/types.h b/types.h index b8c1026..2f6946d 100644 --- a/types.h +++ b/types.h @@ -648,11 +648,11 @@ enum { typedef struct FnExpr { Location where; Block *declaration_block; /* block wherein this function is declared */ + U64 instance_id; /* 0 if not an instance. needs to be available even for #foreign functions */ union { struct { struct Declaration *params; /* declarations of the parameters to this function */ struct Declaration *ret_decls; /* array of decls, if this has named return values. otherwise, NULL */ - U64 instance_id; /* 0 if not an instance */ Type ret_type; Block body; }; -- cgit v1.2.3