File tree 2 files changed +4
-2
lines changed
compiler/noirc_evaluator/src
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ impl std::ops::Index<FunctionId> for Brillig {
52
52
53
53
impl Ssa {
54
54
/// Compile to brillig brillig functions and ACIR functions reachable from them
55
+ #[ tracing:: instrument( level = "trace" , skip_all) ]
55
56
pub ( crate ) fn to_brillig ( & self , enable_debug_trace : bool ) -> Brillig {
56
57
// Collect all the function ids that are reachable from brillig
57
58
// That means all the functions marked as brillig and ACIR functions called by them
Original file line number Diff line number Diff line change @@ -127,12 +127,13 @@ pub(crate) fn optimize_into_acir(
127
127
ssa. check_for_underconstrained_values ( )
128
128
} )
129
129
} ;
130
+
131
+ drop ( ssa_gen_span_guard) ;
132
+
130
133
let brillig = time ( "SSA to Brillig" , options. print_codegen_timings , || {
131
134
ssa. to_brillig ( options. enable_brillig_logging )
132
135
} ) ;
133
136
134
- drop ( ssa_gen_span_guard) ;
135
-
136
137
let artifacts = time ( "SSA to ACIR" , options. print_codegen_timings , || {
137
138
ssa. into_acir ( & brillig, options. expression_width )
138
139
} ) ?;
You can’t perform that action at this time.
0 commit comments