working codegen

This commit is contained in:
Folkert 2023-07-25 14:43:37 +02:00
parent e7f9ff8b51
commit 8c99cdf817
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 103 additions and 68 deletions

View file

@ -704,6 +704,7 @@ impl<
}
} else {
// This is a single element struct. Just copy the single field to the stack.
dbg!(sym, layout);
debug_assert_eq!(fields.len(), 1);
self.copy_symbol_to_stack_offset(
layout_interner,