Revert "Auto merge of #129827 - bvanjoi:less-decoding, r=petrochenkov"
Reverting because of a performance regression. This reverts commitd4812c8638
, reversing changes made to5cc60728e7
.
This commit is contained in:
parent
85f518ec8e
commit
31face9f60
5 changed files with 157 additions and 80 deletions
|
@ -36,7 +36,7 @@ use rustc_serialize::opaque::FileEncoder;
|
|||
use rustc_session::config::{SymbolManglingVersion, TargetModifier};
|
||||
use rustc_session::cstore::{CrateDepKind, ForeignModule, LinkagePreference, NativeLib};
|
||||
use rustc_span::edition::Edition;
|
||||
use rustc_span::hygiene::{ExpnIndex, MacroKind, SyntaxContextKey};
|
||||
use rustc_span::hygiene::{ExpnIndex, MacroKind, SyntaxContextData};
|
||||
use rustc_span::{self, ExpnData, ExpnHash, ExpnId, Ident, Span, Symbol};
|
||||
use rustc_target::spec::{PanicStrategy, TargetTuple};
|
||||
use table::TableBuilder;
|
||||
|
@ -193,7 +193,7 @@ enum LazyState {
|
|||
Previous(NonZero<usize>),
|
||||
}
|
||||
|
||||
type SyntaxContextTable = LazyTable<u32, Option<LazyValue<SyntaxContextKey>>>;
|
||||
type SyntaxContextTable = LazyTable<u32, Option<LazyValue<SyntaxContextData>>>;
|
||||
type ExpnDataTable = LazyTable<ExpnIndex, Option<LazyValue<ExpnData>>>;
|
||||
type ExpnHashTable = LazyTable<ExpnIndex, Option<LazyValue<ExpnHash>>>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue