about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-23 22:13:24 +0100
committerGitHub <noreply@github.com>2022-03-23 22:13:24 +0100
commit23ef234bf765951e49805fbdad95f538ac33f2d8 (patch)
treeba0debae5eaf0939a16023482366193796259f92 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent0c79c862f0e7e6ab56ea6d78b15410de209e0825 (diff)
parenta76e5b1882f78c250a3f7338d12c559029949d73 (diff)
downloadrust-23ef234bf765951e49805fbdad95f538ac33f2d8.tar.gz
rust-23ef234bf765951e49805fbdad95f538ac33f2d8.zip
Rollup merge of #95221 - RalfJung:check_and_deref_ptr, r=oli-obk
interpret/memory: simplify check_and_deref_ptr

*Finally* I saw a way to make this code simpler. The odd preprocessing in `let ptr_or_addr =` has bothered me since forever, but it actually became unnecessary in the last provenance refactoring. :)

This also leads to slightly more explicit error messages as a nice side-effect. :tada:

r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions