diff options
| author | degasus <wickmarkus@web.de> | 2017-01-22 14:35:03 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2017-01-23 20:33:44 +0100 |
| commit | 3529af61c40dec93c3ee47e7aaffdb311d75a43f (patch) | |
| tree | cf0a75954583cc9e67e00c3d1875cc5215ecfbf5 /Source/Core | |
| parent | f3ed993747f45ea2fbfa59bf72bc67cad22a2f76 (diff) | |
JitAnalyzer: Remove jit block cache workaround.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/PPCAnalyst.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/PowerPC/PPCAnalyst.cpp index 11db99c2e6..7b44d0f9a7 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.cpp +++ b/Source/Core/Core/PowerPC/PPCAnalyst.cpp @@ -653,7 +653,6 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock* block, CodeBuffer* buffer, u32 u32 return_address = 0; u32 numFollows = 0; u32 num_inst = 0; - bool prev_inst_from_bat = true; for (u32 i = 0; i < blockSize; ++i) { @@ -666,16 +665,6 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock* block, CodeBuffer* buffer, u32 } UGeckoInstruction inst = result.hex; - // Slight hack: the JIT block cache currently assumes all blocks end at the same place, - // but broken blocks due to page faults break this assumption. Avoid this by just ending - // all virtual memory instruction blocks at page boundaries. - // FIXME: improve the JIT block cache so we don't need to do this. - if ((!result.from_bat || !prev_inst_from_bat) && i > 0 && (address & 0xfff) == 0) - { - break; - } - prev_inst_from_bat = result.from_bat; - num_inst++; memset(&code[i], 0, sizeof(CodeOp)); GekkoOPInfo* opinfo = GetOpInfo(inst); |
