mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
26 lines
541 B
C++
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
|