libsyntax: De-@mut SCTable::mark_memo

This commit is contained in:
Patrick Walton
2013-12-27 16:38:25 -08:00
parent be17a1b08c
commit 4d6dde7f49
2 changed files with 8 additions and 7 deletions

View File

@@ -89,9 +89,9 @@ pub type SyntaxContext = u32;
// it should cut down on memory use *a lot*; applying a mark
// to a tree containing 50 identifiers would otherwise generate
pub struct SCTable {
table : RefCell<~[SyntaxContext_]>,
mark_memo : HashMap<(SyntaxContext,Mrk),SyntaxContext>,
rename_memo : HashMap<(SyntaxContext,Ident,Name),SyntaxContext>
table: RefCell<~[SyntaxContext_]>,
mark_memo: RefCell<HashMap<(SyntaxContext,Mrk),SyntaxContext>>,
rename_memo: HashMap<(SyntaxContext,Ident,Name),SyntaxContext>
}
// NB: these must be placed in any SCTable...