Fix alignment for normal structures to match LLVM

This commit is contained in:
Ginger Bill
2017-05-10 22:51:35 +01:00
parent c6d531df95
commit 87f1a62ca4
5 changed files with 20 additions and 27 deletions
+1
View File
@@ -3126,6 +3126,7 @@ Entity *check_selector(Checker *c, Operand *operand, AstNode *node, Type *type_h
Entity **procs = gb_alloc_array(heap_allocator(), Entity *, overload_count);
map_entity_multi_get_all(&import_scope->elements, key, procs);
for (isize i = 0; i < overload_count; i++) {
Type *t = base_type(procs[i]->type);
if (t == t_invalid) {