Skip to content

Commit

Permalink
Merge pull request #1768 from riscv-software-src/commit-log-ordered
Browse files Browse the repository at this point in the history
Use ordered map for commit log
  • Loading branch information
aswaterman authored Aug 9, 2024
2 parents 91793ed + 8b05d84 commit 6f28e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ struct insn_desc_t
};

// regnum, data
typedef std::unordered_map<reg_t, freg_t> commit_log_reg_t;
typedef std::map<reg_t, freg_t> commit_log_reg_t;

// addr, value, size
typedef std::vector<std::tuple<reg_t, uint64_t, uint8_t>> commit_log_mem_t;
Expand Down

0 comments on commit 6f28e4b

Please sign in to comment.