@@ -24,7 +24,7 @@ use rustc_macros::HashStable;
24
24
///
25
25
/// For optimization of a few very common cases, there is also a representation for a pair of
26
26
/// primitive values (`ScalarPair`). It allows Miri to avoid making allocations for checked binary
27
- /// operations and fat pointers. This idea was taken from rustc's codegen.
27
+ /// operations and wide pointers. This idea was taken from rustc's codegen.
28
28
/// In particular, thanks to `ScalarPair`, arithmetic operations and casts can be entirely
29
29
/// defined on `Immediate`, and do not have to work with a `Place`.
30
30
#[ derive( Copy , Clone , Debug , PartialEq , Eq , HashStable , Hash ) ]
@@ -74,7 +74,7 @@ impl<'tcx, Tag> Immediate<Tag> {
74
74
pub fn to_scalar_or_undef ( self ) -> ScalarMaybeUndef < Tag > {
75
75
match self {
76
76
Immediate :: Scalar ( val) => val,
77
- Immediate :: ScalarPair ( ..) => bug ! ( "Got a fat pointer where a scalar was expected" ) ,
77
+ Immediate :: ScalarPair ( ..) => bug ! ( "Got a wide pointer where a scalar was expected" ) ,
78
78
}
79
79
}
80
80
@@ -331,7 +331,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
331
331
Ok ( self . read_immediate ( op) ?. to_scalar_or_undef ( ) )
332
332
}
333
333
334
- // Turn the fat MPlace into a string (must already be dereferenced!)
334
+ // Turn the wide MPlace into a string (must already be dereferenced!)
335
335
pub fn read_str (
336
336
& self ,
337
337
mplace : MPlaceTy < ' tcx , M :: PointerTag > ,
0 commit comments