about summary refs log tree commit diff
path: root/tests/codegen/array-codegen.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-08 21:02:00 +0100
committerGitHub <noreply@github.com>2024-03-08 21:02:00 +0100
commit2c3ca0931d99c9d860010ae79f242b27c21c1b35 (patch)
tree75dd0a7641e17d54a6a1704f5ba4fa3d7c4e4245 /tests/codegen/array-codegen.rs
parent948d32d94fe58fc5dc033e368ec9d40f399f77ae (diff)
parenta98432213b4a1fc6d54ad1ba8315c9e99c082e05 (diff)
downloadrust-2c3ca0931d99c9d860010ae79f242b27c21c1b35.tar.gz
rust-2c3ca0931d99c9d860010ae79f242b27c21c1b35.zip
Rollup merge of #122076 - WaffleLapkin:mplace-args, r=RalfJung
Tweak the way we protect in-place function arguments in interpreters

Use `MPlaceTy` instead of `PlaceTy` in `FnArg` and ignore (copy) locals in an earlier step ("Locals that don't have their address taken are as protected as they can ever be").

This seems to be crucial for tail call support (as they can't refer to caller's locals which are killed when replacing the stack frame).

r? `@RalfJung`
cc `@oli-obk`
see https://github.com/rust-lang/rust/pull/121273#issuecomment-1980210690
Diffstat (limited to 'tests/codegen/array-codegen.rs')
0 files changed, 0 insertions, 0 deletions