mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
JitCache: Drop unused functions.
This commit is contained in:
parent
7e850361fb
commit
3ee178abe7
@ -96,12 +96,7 @@ void JitBaseBlockCache::SchedulateClearCacheThreadSafe()
|
||||
|
||||
bool JitBaseBlockCache::IsFull() const
|
||||
{
|
||||
return GetNumBlocks() >= MAX_NUM_BLOCKS - 1;
|
||||
}
|
||||
|
||||
JitBlock* JitBaseBlockCache::GetBlock(int no)
|
||||
{
|
||||
return &blocks[no];
|
||||
return num_blocks >= MAX_NUM_BLOCKS - 1;
|
||||
}
|
||||
|
||||
JitBlock* JitBaseBlockCache::GetBlocks()
|
||||
@ -109,11 +104,6 @@ JitBlock* JitBaseBlockCache::GetBlocks()
|
||||
return blocks.data();
|
||||
}
|
||||
|
||||
int JitBaseBlockCache::GetNumBlocks() const
|
||||
{
|
||||
return num_blocks;
|
||||
}
|
||||
|
||||
int* JitBaseBlockCache::GetICache()
|
||||
{
|
||||
return iCache.data();
|
||||
|
@ -127,9 +127,7 @@ public:
|
||||
bool IsFull() const;
|
||||
|
||||
// Code Cache
|
||||
JitBlock* GetBlock(int block_num);
|
||||
JitBlock* GetBlocks();
|
||||
int GetNumBlocks() const;
|
||||
int* GetICache();
|
||||
void RunOnBlocks(std::function<void(const JitBlock&)> f);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user