mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
add copying any memcpy-able symbols to a stack offset
This commit is contained in:
parent
1ef7df19b4
commit
c47209c54a
2 changed files with 13 additions and 23 deletions
|
@ -626,7 +626,7 @@ trait Backend<'a> {
|
|||
self.build_eq(sym, &args[0], &Symbol::DEV_TMP, &arg_layouts[0]);
|
||||
self.free_symbol(&Symbol::DEV_TMP)
|
||||
}
|
||||
Symbol::LIST_GET => {
|
||||
Symbol::LIST_GET | Symbol::LIST_SET => {
|
||||
// TODO: This is probably simple enough to be worth inlining.
|
||||
let layout_id = LayoutIds::default().get(func_sym, ret_layout);
|
||||
let fn_name = self.symbol_to_string(func_sym, layout_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue