@@ -15,8 +15,8 @@ use rustc_target::abi::{Abi, DiscriminantKind, HasDataLayout, Integer, LayoutOf,
1515use rustc_target:: abi:: { VariantIdx , Variants } ;
1616
1717use super :: {
18- from_known_layout, sign_extend, truncate, AllocId , ConstValue , GlobalId , InterpCx ,
19- InterpResult , MPlaceTy , Machine , MemPlace , Place , PlaceTy , Pointer , Scalar , ScalarMaybeUndef ,
18+ from_known_layout, sign_extend, truncate, ConstValue , GlobalId , InterpCx , InterpResult ,
19+ MPlaceTy , Machine , MemPlace , Place , PlaceTy , Pointer , Scalar , ScalarMaybeUndef ,
2020} ;
2121
2222/// An `Immediate` represents a single immediate self-contained Rust value.
@@ -27,9 +27,9 @@ use super::{
2727/// In particular, thanks to `ScalarPair`, arithmetic operations and casts can be entirely
2828/// defined on `Immediate`, and do not have to work with a `Place`.
2929#[ derive( Copy , Clone , Debug , PartialEq , Eq , HashStable , Hash ) ]
30- pub enum Immediate < Tag = ( ) , Id = AllocId > {
31- Scalar ( ScalarMaybeUndef < Tag , Id > ) ,
32- ScalarPair ( ScalarMaybeUndef < Tag , Id > , ScalarMaybeUndef < Tag , Id > ) ,
30+ pub enum Immediate < Tag = ( ) > {
31+ Scalar ( ScalarMaybeUndef < Tag > ) ,
32+ ScalarPair ( ScalarMaybeUndef < Tag > , ScalarMaybeUndef < Tag > ) ,
3333}
3434
3535impl < Tag > From < ScalarMaybeUndef < Tag > > for Immediate < Tag > {
@@ -145,9 +145,9 @@ impl<'tcx, Tag> ::std::ops::Deref for ImmTy<'tcx, Tag> {
145145/// or still in memory. The latter is an optimization, to delay reading that chunk of
146146/// memory and to avoid having to store arbitrary-sized data here.
147147#[ derive( Copy , Clone , Debug , PartialEq , Eq , HashStable , Hash ) ]
148- pub enum Operand < Tag = ( ) , Id = AllocId > {
149- Immediate ( Immediate < Tag , Id > ) ,
150- Indirect ( MemPlace < Tag , Id > ) ,
148+ pub enum Operand < Tag = ( ) > {
149+ Immediate ( Immediate < Tag > ) ,
150+ Indirect ( MemPlace < Tag > ) ,
151151}
152152
153153#[ derive( Copy , Clone , Debug , PartialEq , Eq , Hash ) ]
0 commit comments