Fixed a warning about an unused variable.
--HG-- extra : convert_revision : f9c78e86b60c3085cd95b1b4e132205e0ef584dd
This commit is contained in:
parent
44c6ca84c6
commit
105c336743
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class SparcDynInst : public BaseDynInst<Impl>
|
||||||
{
|
{
|
||||||
uint64_t val = this->cpu->readIntReg(this->_srcRegIdx[idx]);
|
uint64_t val = this->cpu->readIntReg(this->_srcRegIdx[idx]);
|
||||||
DPRINTF(Sparc, "Reading int reg %d (%d, %d) as %x\n", (int)this->_flatSrcRegIdx[idx], (int)this->_srcRegIdx[idx], idx, val);
|
DPRINTF(Sparc, "Reading int reg %d (%d, %d) as %x\n", (int)this->_flatSrcRegIdx[idx], (int)this->_srcRegIdx[idx], idx, val);
|
||||||
return this->cpu->readIntReg(this->_srcRegIdx[idx]);
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
TheISA::FloatReg readFloatRegOperand(const StaticInst *si,
|
TheISA::FloatReg readFloatRegOperand(const StaticInst *si,
|
||||||
|
|
Loading…
Reference in a new issue