@@ -24,7 +24,7 @@ use rustc_macros::HashStable;
2424///
2525/// For optimization of a few very common cases, there is also a representation for a pair of
2626/// 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.
2828/// In particular, thanks to `ScalarPair`, arithmetic operations and casts can be entirely
2929/// defined on `Immediate`, and do not have to work with a `Place`.
3030#[ derive( Copy , Clone , Debug , PartialEq , Eq , HashStable , Hash ) ]
@@ -74,7 +74,7 @@ impl<'tcx, Tag> Immediate<Tag> {
7474 pub fn to_scalar_or_undef ( self ) -> ScalarMaybeUndef < Tag > {
7575 match self {
7676 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" ) ,
7878 }
7979 }
8080
@@ -331,7 +331,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
331331 Ok ( self . read_immediate ( op) ?. to_scalar_or_undef ( ) )
332332 }
333333
334- // Turn the fat MPlace into a string (must already be dereferenced!)
334+ // Turn the wide MPlace into a string (must already be dereferenced!)
335335 pub fn read_str (
336336 & self ,
337337 mplace : MPlaceTy < ' tcx , M :: PointerTag > ,
0 commit comments