A few CPUState-related methods should be const (getter)
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2084 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -4,7 +4,7 @@ namespace fail {
|
||||
|
||||
int interrupt_to_fire = -1;
|
||||
|
||||
bool CPUState::isSuppressedInterrupt(unsigned interruptNum)
|
||||
bool CPUState::isSuppressedInterrupt(unsigned interruptNum) const
|
||||
{
|
||||
for (size_t i = 0; i < m_SuppressedInterrupts.size(); i++)
|
||||
if ((m_SuppressedInterrupts[i] == interruptNum ||
|
||||
|
||||
Reference in New Issue
Block a user