diff options
| author | degasus <wickmarkus@web.de> | 2017-01-11 20:27:01 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2017-01-12 20:23:14 +0100 |
| commit | 3ee178abe7d243bd266a64a015da3b5c4cfb8a2c (patch) | |
| tree | 9543f9cbff6fa2853698c3d15f196b1c9cfc2cc2 /Source/Core | |
| parent | 7e850361fbe4463dbfa433f09315ebfc5f6405bb (diff) | |
JitCache: Drop unused functions.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/JitCommon/JitCache.cpp | 12 | ||||
| -rw-r--r-- | Source/Core/Core/PowerPC/JitCommon/JitCache.h | 2 |
2 files changed, 1 insertions, 13 deletions
diff --git a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp index 1f825fa9ec..559c082b98 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp @@ -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(); diff --git a/Source/Core/Core/PowerPC/JitCommon/JitCache.h b/Source/Core/Core/PowerPC/JitCommon/JitCache.h index 781fb596f4..6e8e8fa6f9 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitCache.h +++ b/Source/Core/Core/PowerPC/JitCommon/JitCache.h @@ -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); |
