mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-10 18:22:19 +03:00
unused
This commit is contained in:
parent
092ddc797a
commit
f743f20876
@ -58,13 +58,6 @@ impl ConstantPropagationTable {
|
||||
self.scope_index()
|
||||
}
|
||||
|
||||
/// Inserts a function into the symbol table.
|
||||
pub fn insert_fn_scope(&mut self) -> Result<()> {
|
||||
self.scope_index();
|
||||
self.scopes.push(Default::default());
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Attempts to lookup a constant in the constant propagation table.
|
||||
pub fn lookup_constant(&self, symbol: Symbol) -> Option<&Expression> {
|
||||
if let Some(constant) = self.constants.get(&symbol) {
|
||||
|
Loading…
Reference in New Issue
Block a user