Check the invariant for principal inside the method
This commit is contained in:
parent
849a0e9c40
commit
78aaa3e546
25 changed files with 111 additions and 150 deletions
|
|
@ -59,7 +59,7 @@ pub struct CodegenCx<'a, 'tcx: 'a> {
|
|||
/// Cache instances of monomorphic and polymorphic items
|
||||
pub instances: RefCell<FxHashMap<Instance<'tcx>, &'a Value>>,
|
||||
/// Cache generated vtables
|
||||
pub vtables: RefCell<FxHashMap<(Ty<'tcx>, Option<ty::PolyExistentialTraitRef<'tcx>>),
|
||||
pub vtables: RefCell<FxHashMap<(Ty<'tcx>, ty::PolyExistentialTraitRef<'tcx>),
|
||||
&'a Value>>,
|
||||
/// Cache of constant strings,
|
||||
pub const_cstr_cache: RefCell<FxHashMap<LocalInternedString, &'a Value>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue