Skip to content

Commit db07d8b

Browse files
committed
chore: remove GeneratedAcir.current_witness_index
1 parent 16aa7ef commit db07d8b

File tree

1 file changed

+0
-5
lines changed
  • compiler/noirc_evaluator/src/acir/acir_context/generated_acir

1 file changed

+0
-5
lines changed

compiler/noirc_evaluator/src/acir/acir_context/generated_acir/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@ pub(crate) type BrilligOpcodeToLocationsMap = BTreeMap<BrilligOpcodeLocation, Ca
9595
pub(crate) type BrilligProcedureRangeMap = BTreeMap<ProcedureDebugId, (usize, usize)>;
9696

9797
impl<F: AcirField> GeneratedAcir<F> {
98-
/// Returns the current witness index.
99-
pub fn current_witness_index(&self) -> Witness {
100-
Witness(self.current_witness_index.unwrap_or(0))
101-
}
102-
10398
/// Adds a new opcode into ACIR.
10499
pub(crate) fn push_opcode(&mut self, opcode: AcirOpcode<F>) {
105100
self.opcodes.push(opcode);

0 commit comments

Comments
 (0)