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. --- spike_main/spike-log-parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spike_main') diff --git a/spike_main/spike-log-parser.cc b/spike_main/spike-log-parser.cc index 0a4442f..fab00f0 100644 --- a/spike_main/spike-log-parser.cc +++ b/spike_main/spike-log-parser.cc @@ -28,7 +28,7 @@ int main(int argc, char** argv) parser.parse(argv); isa_parser_t isa(isa_string, DEFAULT_PRIV); - processor_t p(isa, DEFAULT_VARCH, 0, 0, false, nullptr, cerr); + processor_t p(&isa, DEFAULT_VARCH, 0, 0, false, nullptr, cerr); if (extension) { p.register_extension(extension()); } -- cgit v1.1