Remove old code

This commit is contained in:
Greg Shuflin 2021-11-02 18:58:08 -07:00
parent 3e16070602
commit 8b5e965f16
1 changed files with 1 additions and 11 deletions

View File

@ -151,7 +151,7 @@ pub struct SymbolTable {
impl SymbolTable {
pub fn new() -> SymbolTable {
let mut table = SymbolTable {
let table = SymbolTable {
def_id_store: IdStore::new(),
symbol_trie: SymbolTrie::new(),
fq_names: NameTable::new(),
@ -161,7 +161,6 @@ impl SymbolTable {
def_to_symbol: HashMap::new(),
};
table.populate_builtins();
table
}
@ -224,15 +223,6 @@ impl SymbolTable {
self.def_to_symbol.insert(def_id, symbol);
}
fn populate_builtins(&mut self) {
/*
let fqsn = Fqsn::from_strs(&["println"]);
self.populate_single_builtin(fqsn, Builtin::IOPrintLn);
let fqsn = Fqsn::from_strs(&["print"]);
self.populate_single_builtin(fqsn, Builtin::IOPrint);
*/
}
}
struct SymbolTableRunner<'a> {