Remove old code
This commit is contained in:
parent
3e16070602
commit
8b5e965f16
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user