Play-/Source/BasicBlock.h
2007-12-06 21:36:12 +00:00

26 lines
541 B
C++

#ifndef _BASICBLOCK_H_
#define _BASICBLOCK_H_
#include "MIPS.h"
class CBasicBlock
{
public:
CBasicBlock(CMIPS&, uint32, uint32);
virtual ~CBasicBlock();
unsigned int Execute();
void Compile();
uint32 GetBeginAddress() const;
uint32 GetEndAddress() const;
bool IsCompiled() const;
private:
uint8* m_text;
uint32 m_begin;
uint32 m_end;
CMIPS& m_context;
};
#endif