Files
tinygo/compiler/testdata
Nia Waldvogel d8b6b257f4 compiler: simplify createObjectLayout
This simplifies the process of constructing and encoding layout bitmaps.
Instead of creating big integers and merging them, we can create a pre-sized bitmap and set positions within it.

This also changes the encoding logic to allow larger layouts to be encoded inline.
We would previously not encode a layout inline unless the size was less than the width of the data field.
This is overly conservative.
A layout can be encoded inline as long as:
1. The size fits within the size field.
2. All set bits in the bitmap fit into the data field.
2026-04-05 14:14:55 +02:00
..
2025-09-17 05:28:06 -04:00
2025-09-17 05:28:06 -04:00
2025-09-17 05:28:06 -04:00
2021-04-12 12:07:42 +02:00
2025-09-17 05:28:06 -04:00
2026-04-05 14:14:55 +02:00
2026-04-05 14:14:55 +02:00
2025-09-17 05:28:06 -04:00
2025-09-17 05:28:06 -04:00
2024-11-20 14:07:55 +01:00
2025-09-17 05:28:06 -04:00
2026-01-05 15:10:31 -05:00
2025-09-17 05:28:06 -04:00