mirror of
https://github.com/libretro/Play-.git
synced 2024-12-02 14:36:38 +00:00
050bf0f854
Will help to make new breakpoint implementation simpler.
22 lines
468 B
C++
22 lines
468 B
C++
#pragma once
|
|
|
|
#include <unordered_map>
|
|
#include "../GenericMipsExecutor.h"
|
|
|
|
class CVuExecutor : public CGenericMipsExecutor<BlockLookupOneWay>
|
|
{
|
|
public:
|
|
CVuExecutor(CMIPS&, uint32);
|
|
virtual ~CVuExecutor() = default;
|
|
|
|
void Reset() override;
|
|
|
|
protected:
|
|
typedef std::unordered_multimap<uint32, BasicBlockPtr> CachedBlockMap;
|
|
|
|
BasicBlockPtr BlockFactory(CMIPS&, uint32, uint32) override;
|
|
void PartitionFunction(uint32) override;
|
|
|
|
CachedBlockMap m_cachedBlocks;
|
|
};
|