From f743f2087651f469c1ed6f5dfa92067af10088a3 Mon Sep 17 00:00:00 2001 From: evan-schott <53463459+evan-schott@users.noreply.github.com> Date: Thu, 11 Jan 2024 13:08:48 -0800 Subject: [PATCH] unused --- .../passes/src/common/constant_propagation_table/mod.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/compiler/passes/src/common/constant_propagation_table/mod.rs b/compiler/passes/src/common/constant_propagation_table/mod.rs index 7f623ab7b0..d86a8a6bc4 100644 --- a/compiler/passes/src/common/constant_propagation_table/mod.rs +++ b/compiler/passes/src/common/constant_propagation_table/mod.rs @@ -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) {