]> git.lizzy.rs Git - rust.git/commit - compiler/rustc_codegen_cranelift/src/driver/jit.rs
Rollup merge of #105602 - RalfJung:read-convenience, r=oli-obk
authorYuki Okushi <huyuumi.dev+love@gmail.com>
Wed, 21 Dec 2022 23:32:10 +0000 (08:32 +0900)
committerGitHub <noreply@github.com>
Wed, 21 Dec 2022 23:32:10 +0000 (08:32 +0900)
commit4f29ca386f83c1ac3a2c5f4a721c5533ab97f586
tree86a9c7bd7a7bd73a58ed364b1b55d98105fb18c8
parent342d1b7f01fdf1d4d13602c68682f59289fdefe2
parent158894464c5e4b143c7b307f932d9eb51afc24ee
Rollup merge of #105602 - RalfJung:read-convenience, r=oli-obk

interpret: add read_machine_[ui]size convenience methods

We have `read_pointer`, so it felt inconsistent to not also have these.

r? ```@oli-obk```
compiler/rustc_const_eval/src/interpret/intrinsics.rs
compiler/rustc_const_eval/src/interpret/operand.rs