Skip to content

Commit

Permalink
Merge pull request #440 from qwe661234/fix_t1c
Browse files Browse the repository at this point in the history
Correctly update the information of hotspot
  • Loading branch information
jserv authored May 13, 2024
2 parents 7d13e82 + 51970e7 commit 347be4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1964,6 +1964,7 @@ void jit_translate(riscv_t *rv, block_t *block)
for (int i = 0; i < state->n_blocks; i++) {
if (block->pc_start == state->offset_map[i].pc) {
block->offset = state->offset_map[i].offset;
block->hot = true;
return;
}
}
Expand Down

0 comments on commit 347be4b

Please sign in to comment.