File tree Expand file tree Collapse file tree
compiler/noirc_evaluator/src/ssa/checks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ impl DependencyContext {
314314 self . update_children ( & arguments, & results) ;
315315 }
316316 } ,
317- Value :: Function ( callee) => match all_functions[ callee] . runtime ( ) {
317+ Value :: Function ( callee) => match all_functions[ & callee] . runtime ( ) {
318318 RuntimeType :: Brillig ( _) => {
319319 // Record arguments/results for each Brillig call for the check
320320 self . tainted . insert (
@@ -590,7 +590,7 @@ impl Context {
590590 self . value_sets . push ( instruction_arguments_and_results) ;
591591 }
592592 } ,
593- Value :: Function ( callee) => match all_functions[ callee] . runtime ( ) {
593+ Value :: Function ( callee) => match all_functions[ & callee] . runtime ( ) {
594594 RuntimeType :: Brillig ( _) => {
595595 // For calls to Brillig functions we memorize the mapping of results to argument ValueId's and InstructionId's
596596 // The latter are needed to produce the callstack later
You can’t perform that action at this time.
0 commit comments