Fixed a warning about an unused variable.

--HG--
extra : convert_revision : f9c78e86b60c3085cd95b1b4e132205e0ef584dd
This commit is contained in:
Gabe Black 2007-01-29 10:46:54 -05:00
parent 44c6ca84c6
commit 105c336743

View file

@ -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,