mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Delete duplicate function (now that we can easily check for compileToNative)
This commit is contained in:
parent
9d36a08ec4
commit
78c75e1a0b
@ -529,15 +529,6 @@ void IRNativeJit::ClearCache() {
|
|||||||
backend_->ClearAllBlocks();
|
backend_->ClearAllBlocks();
|
||||||
}
|
}
|
||||||
|
|
||||||
void IRNativeJit::InvalidateCacheAt(u32 em_address, int length) {
|
|
||||||
std::vector<int> numbers = blocks_.FindInvalidatedBlockNumbers(em_address, length);
|
|
||||||
for (int block_num : numbers) {
|
|
||||||
auto block = blocks_.GetBlock(block_num);
|
|
||||||
backend_->InvalidateBlock(&blocks_, block_num);
|
|
||||||
block->Destroy(block->GetNativeOffset());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IRNativeJit::DescribeCodePtr(const u8 *ptr, std::string &name) {
|
bool IRNativeJit::DescribeCodePtr(const u8 *ptr, std::string &name) {
|
||||||
if (ptr != nullptr && backend_->DescribeCodePtr(ptr, name))
|
if (ptr != nullptr && backend_->DescribeCodePtr(ptr, name))
|
||||||
return true;
|
return true;
|
||||||
|
@ -185,7 +185,6 @@ public:
|
|||||||
void RunLoopUntil(u64 globalticks) override;
|
void RunLoopUntil(u64 globalticks) override;
|
||||||
|
|
||||||
void ClearCache() override;
|
void ClearCache() override;
|
||||||
void InvalidateCacheAt(u32 em_address, int length = 4) override;
|
|
||||||
|
|
||||||
bool DescribeCodePtr(const u8 *ptr, std::string &name) override;
|
bool DescribeCodePtr(const u8 *ptr, std::string &name) override;
|
||||||
bool CodeInRange(const u8 *ptr) const override;
|
bool CodeInRange(const u8 *ptr) const override;
|
||||||
|
Loading…
Reference in New Issue
Block a user