This commit is contained in:
Jean-Philip Desjardins 2020-05-25 12:50:31 -04:00
parent 967835cd9d
commit 0f10c89448
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ CMIPSAssembler::~CMIPSAssembler()
ResolveLabelReferences(); ResolveLabelReferences();
} }
unsigned int CMIPSAssembler::GetProgramSize() unsigned int CMIPSAssembler::GetProgramSize() const
{ {
return static_cast<unsigned int>(m_ptr - m_startPtr); return static_cast<unsigned int>(m_ptr - m_startPtr);
} }

View file

@ -19,7 +19,7 @@ public:
CMIPSAssembler(uint32*); CMIPSAssembler(uint32*);
~CMIPSAssembler(); ~CMIPSAssembler();
unsigned int GetProgramSize(); unsigned int GetProgramSize() const;
LABEL CreateLabel(); LABEL CreateLabel();
void MarkLabel(LABEL); void MarkLabel(LABEL);