Fix minor oversight

This commit is contained in:
Henrik Rydgård committed 2019-06-02 17:49:21 +02:00
1 parent ce4c254faa
commit f4e489ee50
2 files changed
+1 -13

No files matched your search

-12
View File
@@ -358,18 +358,6 @@ const u8 *ArmJit::DoJit(u32 em_address, JitBlock *b)
FlushPrefixV();
}
#if !PPSSPP_ARCH(ARMV7)
// TODO: Is this path still even supported?
if ((GetCodePtr() - b->checkedEntry - partialFlushOffset) > 3200)
{
// We need to prematurely flush as we are out of range
FixupBranch skip = B_CC(CC_AL);
FlushLitPool();
SetJumpTarget(skip);
partialFlushOffset = GetCodePtr() - b->checkedEntry;
}
#endif
// Safety check, in case we get a bunch of really large jit ops without a lot of branching.
if (GetSpaceLeft() < 0x800 || js.numInstructions >= JitBlockCache::MAX_BLOCK_INSTRUCTIONS)
{
+1 -1
View File
@@ -208,7 +208,7 @@ namespace MIPSComp {
REGALLOC_GPR = 0x02000000, // Doesn't really disable regalloc, but flushes after every instr.
REGALLOC_FPR = 0x04000000,
ALL_FLAGS = 0x01FFFFFF,
ALL_FLAGS = 0x07FFFFFF,
};
struct JitOptions {