This commit is contained in:
Jean-Philip Desjardins 2017-06-24 20:22:43 -04:00
parent 8c4cae0cc7
commit 41bb993cb7
2 changed files with 5 additions and 13 deletions

View File

@ -10,11 +10,6 @@ CMipsExecutor(context, c_vuMaxAddress)
}
CVuExecutor::~CVuExecutor()
{
}
void CVuExecutor::Reset()
{
m_cachedBlocks.clear();

View File

@ -1,5 +1,4 @@
#ifndef _VUEXECUTOR_H_
#define _VUEXECUTOR_H_
#pragma once
#include <unordered_map>
#include "../MipsExecutor.h"
@ -8,17 +7,15 @@ class CVuExecutor : public CMipsExecutor
{
public:
CVuExecutor(CMIPS&);
virtual ~CVuExecutor();
virtual ~CVuExecutor() = default;
virtual void Reset();
void Reset() override;
protected:
typedef std::unordered_multimap<uint32, BasicBlockPtr> CachedBlockMap;
virtual BasicBlockPtr BlockFactory(CMIPS&, uint32, uint32);
virtual void PartitionFunction(uint32);
BasicBlockPtr BlockFactory(CMIPS&, uint32, uint32) override;
void PartitionFunction(uint32) override;
CachedBlockMap m_cachedBlocks;
};
#endif