This commit is contained in:
Ralf Jung
2022-07-15 08:09:43 -04:00
parent 8c13a9ccd3
commit 98c401977b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
0ed9c64c3e63acac9bd77abce62501696c390450
6077b7cda466afa2b75a62b232ab46dbeb148bcb
+1 -1
View File
@@ -259,7 +259,7 @@ fn call_function(
let mir = this.load_mir(f.def, None)?;
let dest = match dest {
Some(dest) => *dest,
None => MPlaceTy::dangling(this.layout_of(mir.return_ty())?).into(),
None => MPlaceTy::fake_alloc_zst(this.layout_of(mir.return_ty())?).into(),
};
this.push_stack_frame(f, mir, &dest, stack_pop)?;