Skip to content

Commit

Permalink
more info
Browse files Browse the repository at this point in the history
  • Loading branch information
umadayal committed Oct 14, 2024
1 parent 5d5a10e commit c80d197
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions crates/core/executor/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1302,11 +1302,13 @@ impl<'a> Executor<'a> {
}

// TODO: don't use report for event tracing
if !shape_match_found {
log::warn!("shape match not found for {:?}", self.report.opcode_counts);
}

if cpu_exit || !shape_match_found {
if !shape_match_found {

Check failure on line 1307 in crates/core/executor/src/executor.rs

View workflow job for this annotation

GitHub Actions / Formatting & Clippy

unnecessary boolean `not` operation
log::warn!("SHAPE MATCH NOT FOUND {:?}", self.report.opcode_counts);
} else {
log::warn!("SHAPE MATCH FOUND FOR {:?}", self.report.opcode_counts);
}
self.state.current_shard += 1;
self.state.clk = 0;
self.report = ExecutionReport::default();
Expand Down

0 comments on commit c80d197

Please sign in to comment.