mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
don't copy zero-sized types to the stack
This commit is contained in:
parent
35c507a33f
commit
0fa85fe91d
2 changed files with 6 additions and 0 deletions
|
@ -1079,6 +1079,7 @@ impl<
|
|||
}
|
||||
| Complex { base_offset, size },
|
||||
) => (*base_offset, *size),
|
||||
NoData => (0, 0),
|
||||
storage => {
|
||||
internal_error!(
|
||||
"Data not on the stack for sym {:?} with storage {:?}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue