expand test coverage

This commit is contained in:
Brendan Hansknecht 2022-02-19 19:39:44 -08:00
parent c6f1edbf47
commit 2154e910d8
4 changed files with 20 additions and 18 deletions

View file

@ -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.