From 72eed1aa821ead18b2d8738b085012acd2911d9c Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Fri, 3 Jul 2015 13:01:46 +0200 Subject: [PATCH] JitCache: drop unused method --- Source/Core/Core/PowerPC/JitCommon/JitCache.cpp | 12 ------------ Source/Core/Core/PowerPC/JitCommon/JitCache.h | 1 - 2 files changed, 13 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp index 840dd672c5..31cf7ec3be 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp @@ -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]; diff --git a/Source/Core/Core/PowerPC/JitCommon/JitCache.h b/Source/Core/Core/PowerPC/JitCommon/JitCache.h index af0580ac85..b5a2a27a99 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitCache.h +++ b/Source/Core/Core/PowerPC/JitCommon/JitCache.h @@ -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);