diff --git a/crates/noirc_evaluator/src/frontend/variable.rs b/crates/noirc_evaluator/src/frontend/variable.rs deleted file mode 100644 index 449581cf93c..00000000000 --- a/crates/noirc_evaluator/src/frontend/variable.rs +++ /dev/null @@ -1,23 +0,0 @@ -/// A variable in the SSA IR. -/// By definition, a variable can only be defined once. -/// -/// As in Cranelift, we also allow variable use before definition. -/// This will produce side-effects which will need to be handled -/// before sealing a block. -pub struct Variable(u32); - -impl From for Variable { - fn from(value: u32) -> Self { - Variable(value) - } -} -impl From for Variable { - fn from(value: u16) -> Self { - Variable(value as u32) - } -} -impl From for Variable { - fn from(value: u8) -> Self { - Variable(value as u32) - } -} diff --git a/crates/noirc_evaluator/src/lib.rs b/crates/noirc_evaluator/src/lib.rs index 438ada0167c..b044c70570a 100644 --- a/crates/noirc_evaluator/src/lib.rs +++ b/crates/noirc_evaluator/src/lib.rs @@ -9,9 +9,6 @@ mod ssa; // SSA code to create the SSA based IR // for functions and execute different optimizations. pub mod ssa_refactor; -// Frontend helper module to translate a different AST -// into the SSA IR. -pub mod frontend; use acvm::{ acir::circuit::{opcodes::Opcode as AcirOpcode, Circuit, PublicInputs},