start structs

This commit is contained in:
nora 2023-07-27 20:56:02 +02:00
parent f6f6673721
commit b52abed441
8 changed files with 214 additions and 62 deletions

View file

@ -303,6 +303,8 @@ function computeAbi(ty: TyFn): Abi {
return paramAbi(param.elems[0]);
}
todo("complex tuple abi");
case "struct":
todo("struct ABI");
case "var":
varUnreachable();
}
@ -333,6 +335,8 @@ function computeAbi(ty: TyFn): Abi {
break;
}
todo("complex tuple abi");
case "struct":
todo("struct ABI");
case "var":
varUnreachable();
}