diff options
| author | Ralf Jung <post@ralfj.de> | 2023-08-02 11:27:00 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-08-02 16:52:03 +0200 |
| commit | 2984670cea3ca625c2a64ce2604cfe2accbe9aa2 (patch) | |
| tree | bf216443019e14029943118316c0860700a970e0 /compiler/rustc_const_eval/src/interpret | |
| parent | 828bdc2c26f5c95773c4ecf72870919f16417b66 (diff) | |
| download | rust-2984670cea3ca625c2a64ce2604cfe2accbe9aa2.tar.gz rust-2984670cea3ca625c2a64ce2604cfe2accbe9aa2.zip | |
avoid 'miri' when refering to the shared interpreter
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/intrinsics.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/memory.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/intrinsics.rs b/compiler/rustc_const_eval/src/interpret/intrinsics.rs index be7c14f33c2..f97a5b3447c 100644 --- a/compiler/rustc_const_eval/src/interpret/intrinsics.rs +++ b/compiler/rustc_const_eval/src/interpret/intrinsics.rs @@ -1,4 +1,4 @@ -//! Intrinsics and other functions that the miri engine executes without +//! Intrinsics and other functions that the interpreter executes without //! looking at their MIR. Intrinsics/functions supported here are shared by CTFE //! and miri. diff --git a/compiler/rustc_const_eval/src/interpret/memory.rs b/compiler/rustc_const_eval/src/interpret/memory.rs index 02d022a2252..ea3f3c509f5 100644 --- a/compiler/rustc_const_eval/src/interpret/memory.rs +++ b/compiler/rustc_const_eval/src/interpret/memory.rs @@ -91,7 +91,7 @@ impl<'tcx, Other> FnVal<'tcx, Other> { // `Memory` has to depend on the `Machine` because some of its operations // (e.g., `get`) call a `Machine` hook. pub struct Memory<'mir, 'tcx, M: Machine<'mir, 'tcx>> { - /// Allocations local to this instance of the miri engine. The kind + /// Allocations local to this instance of the interpreter. The kind /// helps ensure that the same mechanism is used for allocation and /// deallocation. When an allocation is not found here, it is a /// global and looked up in the `tcx` for read access. Some machines may |
