aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscv/execute.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/execute.cc b/riscv/execute.cc
index 844f2b8..b093e72 100644
--- a/riscv/execute.cc
+++ b/riscv/execute.cc
@@ -150,7 +150,7 @@ static void commit_log_print_insn(processor_t *p, reg_t pc, insn_t insn)
fprintf(log_file, "\n");
}
-inline void processor_t::update_histogram(reg_t UNUSED pc)
+inline void processor_t::update_histogram(reg_t pc)
{
if (histogram_enabled)
pc_histogram[pc]++;