File tree 2 files changed +4
-2
lines changed
compiler/noirc_evaluator/src/ssa/opt
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,8 @@ impl Context {
200
200
let typ = function. dfg . type_of_value ( * value) ;
201
201
202
202
// We assume arrays aren't mutated until we find an array_set
203
- let inc_rc = RcInstruction { id : instruction_id, array : * value, possibly_mutated : false } ;
203
+ let inc_rc =
204
+ RcInstruction { id : instruction_id, array : * value, possibly_mutated : false } ;
204
205
inc_rcs. entry ( typ) . or_default ( ) . push ( inc_rc) ;
205
206
}
206
207
Instruction :: ArraySet { array, .. } => {
Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ impl Context {
80
80
let typ = function. dfg . type_of_value ( * value) ;
81
81
82
82
// We assume arrays aren't mutated until we find an array_set
83
- let inc_rc = RcInstruction { id : * instruction, array : * value, possibly_mutated : false } ;
83
+ let inc_rc =
84
+ RcInstruction { id : * instruction, array : * value, possibly_mutated : false } ;
84
85
self . inc_rcs . entry ( typ) . or_default ( ) . push ( inc_rc) ;
85
86
}
86
87
}
You can’t perform that action at this time.
0 commit comments