Commit Graph

6 Commits

Author SHA1 Message Date
Alejandro Alonso 6d8f3875c0 Add definitely true flags for raw layout and addressable for dependencies 2026-03-03 12:06:49 -08:00
Alejandro Alonso 0b0432723e Adjust type lowering to take the raw layout's like type in account for fixed abi. also shortcut raw layout for borrow representation 2026-02-26 15:36:53 -08:00
Joe Groff 8d41f21aea IRGen/Runtime: Fix discrepancies in Borrow type layout.
On the compiler side, `Borrow` ought to use extra inhabitants from its value
representation, or at least the null pointer for the pointer representation.

On the runtime side, the choice of representation needs to take size into
account.
2026-02-09 14:38:08 -08:00
Alejandro Alonso 9f95dc7695 Simplify init_borrow_addr when the borrow type is statically known
make sure we register as well as add test
2026-01-27 11:03:53 -08:00
Alejandro Alonso 632d6f4257 WIP: Dependent borrow layout 2026-01-23 08:02:10 -08:00
Joe Groff 2423a6364c IRGen: Support for fixed-layout borrows. 2026-01-23 08:02:09 -08:00