From e3f7fcfd9975287255c80f957269c27120588ac6 Mon Sep 17 00:00:00 2001 From: jfecher Date: Tue, 20 Aug 2024 11:47:12 -0500 Subject: [PATCH] Update compiler/noirc_evaluator/src/ssa/ir/instruction.rs Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> --- compiler/noirc_evaluator/src/ssa/ir/instruction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/noirc_evaluator/src/ssa/ir/instruction.rs b/compiler/noirc_evaluator/src/ssa/ir/instruction.rs index bafaccb7c39..1b3466c76fa 100644 --- a/compiler/noirc_evaluator/src/ssa/ir/instruction.rs +++ b/compiler/noirc_evaluator/src/ssa/ir/instruction.rs @@ -755,7 +755,7 @@ impl Instruction { /// - If the array value is constant, we use that array. /// - If the array value is from a previous array-set, we recur. fn try_optimize_array_get_from_previous_set( - dfg: &mut DataFlowGraph, + dfg: &DataFlowGraph, mut array_id: Id, target_index: FieldElement, ) -> SimplifyResult {