SimulatorController.cc: Tiny code simplification.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1509 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -136,13 +136,11 @@ bool SimulatorController::addSuppressedInterrupt(unsigned interruptNum)
|
||||
if (isSuppressedInterrupt(interruptNum+32))
|
||||
return false; // already added: nothing to do here
|
||||
|
||||
if (interruptNum == ANY_INTERRUPT) {
|
||||
if (interruptNum == ANY_INTERRUPT)
|
||||
m_SuppressedInterrupts.push_back(interruptNum);
|
||||
return true;
|
||||
} else {
|
||||
else
|
||||
m_SuppressedInterrupts.push_back(interruptNum+32);
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SimulatorController::removeSuppressedInterrupt(unsigned interruptNum)
|
||||
|
||||
Reference in New Issue
Block a user