JitCache: drop unused method

This commit is contained in:
Tillmann Karras 2015-07-03 13:01:46 +02:00
parent 1773f6a2df
commit 72eed1aa82
2 changed files with 0 additions and 13 deletions

View File

@ -95,18 +95,6 @@ using namespace Gen;
return num_blocks;
}
bool JitBaseBlockCache::RangeIntersect(int s1, int e1, int s2, int e2) const
{
// check if any endpoint is inside the other range
if ((s1 >= s2 && s1 <= e2) ||
(e1 >= s2 && e1 <= e2) ||
(s2 >= s1 && s2 <= e1) ||
(e2 >= s1 && e2 <= e1))
return true;
else
return false;
}
int JitBaseBlockCache::AllocateBlock(u32 em_address)
{
JitBlock &b = blocks[num_blocks];

View File

@ -112,7 +112,6 @@ class JitBaseBlockCache
bool m_initialized;
bool RangeIntersect(int s1, int e1, int s2, int e2) const;
void LinkBlockExits(int i);
void LinkBlock(int i);
void UnlinkBlock(int i);