ignore empty struct loading

This commit is contained in:
Brendan Hansknecht 2021-12-04 09:59:56 -08:00
parent 1fccd5bede
commit 5cb682140d
2 changed files with 9 additions and 2 deletions

View file

@ -534,6 +534,9 @@ impl<
ASM::mov_base32_reg64(&mut self.buf, offset + 8, CC::GENERAL_RETURN_REGS[1]);
}
}
Layout::Struct([]) => {
// Nothing needs to be done to load a returned empty struct.
}
x => unimplemented!(
"FnCall: receiving return type, {:?}, is not yet implemented",
x