ref: d04ab76586db2d3db88273090c22f4160c4a94a0
parent: d975956a1a2a1b05e328247fc0f5ca841edc8e18
author: Ori Bernstein <ori@markovcorp.com>
date: Mon Jan 28 11:00:57 EST 2019
Missed type alignment for slices. Holy crap, how did this work until now.
--- a/6/typeinfo.c
+++ b/6/typeinfo.c
@@ -343,6 +343,9 @@
for (i = 0; i < ty->nmemb; i++)
align = max(align, tyalign(decltype(ty->sdecls[i])));
break;
+ case Tyslice:
+ align = 8;
+ break;
default:
align = max(align, tysize(ty));
}