Enables block profiling in the UI on non x86 targets.

ARMv7 supports block profiling as well. So let's stop artificially limiting here.
This commit is contained in:
Ryan Houdek 2014-10-23 05:59:14 -05:00
parent 00c6ec97a6
commit 50135a988e
1 changed files with 11 additions and 11 deletions

View File

@ -134,7 +134,8 @@ namespace JitInterface
void WriteProfileResults(const std::string& filename) void WriteProfileResults(const std::string& filename)
{ {
// Can't really do this with no jit core available // Can't really do this with no jit core available
#if _M_X86 if (!jit)
return;
std::vector<BlockStat> stats; std::vector<BlockStat> stats;
stats.reserve(jit->GetBlockCache()->GetNumBlocks()); stats.reserve(jit->GetBlockCache()->GetNumBlocks());
@ -188,7 +189,6 @@ namespace JitInterface
#endif #endif
} }
} }
#endif
} }
bool HandleFault(uintptr_t access_address, SContext* ctx) bool HandleFault(uintptr_t access_address, SContext* ctx)
{ {