Searched hist:13090 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/systemc/ext/core/ | ||
H A D | sc_port.hh | diff 13090:25d3d4a9affd Thu Aug 23 03:41:00 EDT 2018 Gabe Black <gabeblack@google.com> systemc: Use sc_assert to check the number of interfaces. The sc_port code had been using the .at() function of the vector class, but when that failed it threw an exception, and it was very difficult to tell where the exception came from from how gem5 crashed. This change switches to sc_assert (the systemc version of assert) which makes the cause/location of failures much more obvious. Change-Id: I1cd51c86f47b314be551c304b014c44cfa030175 Reviewed-on: https://gem5-review.googlesource.com/12262 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> |
Completed in 9 milliseconds