mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
cleanup
This commit is contained in:
parent
f59eed6366
commit
bb97b9ff74
7 changed files with 30 additions and 59 deletions
|
@ -704,7 +704,6 @@ 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,
|
||||
|
@ -816,7 +815,6 @@ impl<
|
|||
self.copy_to_stack_offset(buf, size, from_offset, to_offset)
|
||||
}
|
||||
Builtin::Str | Builtin::List(_) => {
|
||||
dbg!(sym);
|
||||
let (from_offset, size) = self.stack_offset_and_size(sym);
|
||||
debug_assert_eq!(size, layout_interner.stack_size(*layout));
|
||||
self.copy_to_stack_offset(buf, size, from_offset, to_offset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue