MIPS: Fix a compiler warning from the eret instruction.
This commit is contained in:
parent
c3d41a2def
commit
eab5c60286
|
@ -88,14 +88,14 @@ def template CP0Execute {{
|
|||
|
||||
if (isCoprocessorEnabled(xc, 0)) {
|
||||
%(code)s;
|
||||
|
||||
if(fault == NoFault)
|
||||
{
|
||||
%(op_wb)s;
|
||||
}
|
||||
} else {
|
||||
fault = new CoprocessorUnusableFault(0);
|
||||
}
|
||||
|
||||
if(fault == NoFault)
|
||||
{
|
||||
%(op_wb)s;
|
||||
}
|
||||
return fault;
|
||||
}
|
||||
}};
|
||||
|
|
Loading…
Reference in a new issue