From ae7d2c3062c1a911d97444e5c6df5089a7bb52f6 Mon Sep 17 00:00:00 2001 From: Rupert Swarbrick Date: Mon, 11 Apr 2022 23:18:27 +0100 Subject: Change processor_t to hold a pointer to an isa_parser_t (#973) Before, it had another copy, which is a little unnecessary. --- riscv/sim.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscv/sim.cc') diff --git a/riscv/sim.cc b/riscv/sim.cc index 0831582..be60864 100644 --- a/riscv/sim.cc +++ b/riscv/sim.cc @@ -88,7 +88,7 @@ sim_t::sim_t(const cfg_t *cfg, const char* varch, bool halted, bool real_time_cl for (size_t i = 0; i < nprocs(); i++) { int hart_id = hartids.empty() ? i : hartids[i]; - procs[i] = new processor_t(isa, varch, this, hart_id, halted, + procs[i] = new processor_t(&isa, varch, this, hart_id, halted, log_file.get(), sout_); } -- cgit v1.1