Use u64 for incr comp allocation offsets
This commit is contained in:
parent
a161ab00db
commit
4e117a9b4e
5 changed files with 9 additions and 6 deletions
|
@ -608,7 +608,7 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
|
|||
trace!("encoding {} further alloc ids", new_n - n);
|
||||
for idx in n..new_n {
|
||||
let id = self.interpret_allocs[idx];
|
||||
let pos = self.position() as u32;
|
||||
let pos = self.position() as u64;
|
||||
interpret_alloc_index.push(pos);
|
||||
interpret::specialized_encode_alloc_id(self, tcx, id);
|
||||
}
|
||||
|
|
|
@ -264,7 +264,7 @@ pub(crate) struct CrateRoot {
|
|||
traits: LazyArray<DefIndex>,
|
||||
impls: LazyArray<TraitImpls>,
|
||||
incoherent_impls: LazyArray<IncoherentImpls>,
|
||||
interpret_alloc_index: LazyArray<u32>,
|
||||
interpret_alloc_index: LazyArray<u64>,
|
||||
proc_macro_data: Option<ProcMacroData>,
|
||||
|
||||
tables: LazyTables,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue