work around gcc 4.5 warning
This commit is contained in:
parent
1267ff5949
commit
9c4c1419a7
1 changed files with 2 additions and 2 deletions
|
@ -260,7 +260,7 @@ ResourcePool::scheduleEvent(InOrderCPU::CPUEventType e_type, DynInstPtr inst,
|
||||||
|
|
||||||
Tick when = cpu->nextCycle(curTick() + cpu->ticks(delay));
|
Tick when = cpu->nextCycle(curTick() + cpu->ticks(delay));
|
||||||
|
|
||||||
switch (e_type)
|
switch ((int)e_type)
|
||||||
{
|
{
|
||||||
case InOrderCPU::ActivateThread:
|
case InOrderCPU::ActivateThread:
|
||||||
{
|
{
|
||||||
|
@ -505,7 +505,7 @@ ResourcePool::ResPoolEvent::ResPoolEvent(ResourcePool *_resPool,
|
||||||
void
|
void
|
||||||
ResourcePool::ResPoolEvent::process()
|
ResourcePool::ResPoolEvent::process()
|
||||||
{
|
{
|
||||||
switch (eventType)
|
switch ((int)eventType)
|
||||||
{
|
{
|
||||||
case InOrderCPU::ActivateThread:
|
case InOrderCPU::ActivateThread:
|
||||||
resPool->activateAll(tid);
|
resPool->activateAll(tid);
|
||||||
|
|
Loading…
Reference in a new issue