Skip to content

Commit

Permalink
Initialize slot_cancelled
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Mar 16, 2024
1 parent 6ff247b commit 787c305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handwritten/hexagon_il_c/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,7 @@ RzILOpPure *hex_get_corresponding_cs(RZ_BORROW HexPkt *pkt, const HexOp *Mu) {
}

RZ_IPI void hex_reset_il_pkt_stats(HexILExecData *stats) {
rz_bv_free(stats->slot_cancelled);
rz_bv_free(stats->ctr_written);
rz_bv_free(stats->gpr_written);
rz_bv_free(stats->pred_written);
Expand All @@ -844,6 +845,7 @@ RZ_IPI void hex_reset_il_pkt_stats(HexILExecData *stats) {
rz_bv_free(stats->ctr_tmp_read);
rz_bv_free(stats->gpr_tmp_read);
rz_bv_free(stats->pred_tmp_read);
stats->slot_cancelled = rz_bv_new(64);
stats->ctr_written = rz_bv_new(64);
stats->gpr_written = rz_bv_new(64);
stats->pred_written = rz_bv_new(32);
Expand Down

0 comments on commit 787c305

Please sign in to comment.