From a7d99be947c80de4647d07fd4f73c19cc4050a77 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 6 Oct 2018 02:58:02 -0700 Subject: systemc: Remove a redundant injectException for Thread's throw_it. For some reason lost to the sands of time, the throw_it function was virtual for the Thread class, and that class would call the base class's throw_it, and then also injectException itself. That would result in the exception being injected into the thread twice which is incorrect. Since it's not clear what the original intention of this code was, the throw_it function is now no longer virtual, and the one useful aspect of it, a check if the process is already terminated, was moved into the base class function. Change-Id: I7fb14baa7728bd1e9206011870b6ccaa9c4e8c64 Reviewed-on: https://gem5-review.googlesource.com/c/13312 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/core/SConscript | 1 - 1 file changed, 1 deletion(-) (limited to 'src/systemc/core/SConscript') diff --git a/src/systemc/core/SConscript b/src/systemc/core/SConscript index 230304214..0ce10290d 100644 --- a/src/systemc/core/SConscript +++ b/src/systemc/core/SConscript @@ -37,7 +37,6 @@ if env['USE_SYSTEMC']: Source('object.cc') Source('port.cc') Source('process.cc') - Source('process_types.cc') Source('python.cc') Source('scheduler.cc') Source('sched_event.cc') -- cgit v1.2.3