mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
expand test coverage
This commit is contained in:
parent
c6f1edbf47
commit
2154e910d8
4 changed files with 20 additions and 18 deletions
|
@ -900,6 +900,8 @@ impl<
|
|||
pub fn ret_pointer_arg(&mut self, reg: GeneralReg) {
|
||||
self.symbol_storage_map
|
||||
.insert(Symbol::RET_POINTER, Reg(General(reg)));
|
||||
self.general_free_regs.retain(|x| *x != reg);
|
||||
self.general_used_regs.push((reg, Symbol::RET_POINTER));
|
||||
}
|
||||
|
||||
/// updates the function call stack size to the max of its current value and the size need for this call.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue