mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
add empty array expr to gen_dev
This commit is contained in:
parent
472e95f3e3
commit
cfe1d3d893
3 changed files with 21 additions and 0 deletions
|
@ -1075,6 +1075,10 @@ impl<
|
|||
ASM::add_reg64_reg64_imm32(&mut self.buf, dst_reg, CC::BASE_PTR_REG, offset);
|
||||
}
|
||||
|
||||
fn create_empty_array(&mut self, sym: &Symbol) {
|
||||
self.storage_manager.create_empty_array(&mut self.buf, sym);
|
||||
}
|
||||
|
||||
fn create_struct(&mut self, sym: &Symbol, layout: &Layout<'a>, fields: &'a [Symbol]) {
|
||||
self.storage_manager
|
||||
.create_struct(&mut self.buf, sym, layout, fields);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue