mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
pass floats independently of general registers
This commit is contained in:
parent
cd8c865a66
commit
e4b0d77f2e
3 changed files with 33 additions and 13 deletions
|
@ -2336,7 +2336,10 @@ impl<
|
|||
// Refactor this and switch to one external match.
|
||||
// We also could make loadining indivitual literals much faster
|
||||
let element_symbol = match elem {
|
||||
ListLiteralElement::Symbol(sym) => *sym,
|
||||
ListLiteralElement::Symbol(sym) => {
|
||||
self.load_literal_symbols(&[*sym]);
|
||||
*sym
|
||||
}
|
||||
ListLiteralElement::Literal(lit) => {
|
||||
self.load_literal(&Symbol::DEV_TMP, element_in_layout, lit);
|
||||
Symbol::DEV_TMP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue