diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-07-15 08:41:58 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-07-15 08:41:58 -0500 |
| commit | c0f80ca52449ae02458302d4e99e451a802ca9fa (patch) | |
| tree | 06bc489344131370c9e3a1f9bd315c13b54d568e /Source/Core/Common/CodeBlock.h | |
| parent | 41bdaece5ef31a6fd31785ff79f6a54aa9728202 (diff) | |
| parent | 6f38d1baa1d6c735ae12b571dd341cd431f6ba73 (diff) | |
Merge pull request #2736 from degasus/farcache
JitArm64: Farcache
Diffstat (limited to 'Source/Core/Common/CodeBlock.h')
| -rw-r--r-- | Source/Core/Common/CodeBlock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Common/CodeBlock.h b/Source/Core/Common/CodeBlock.h index 972fc707d6..5699fc5385 100644 --- a/Source/Core/Common/CodeBlock.h +++ b/Source/Core/Common/CodeBlock.h @@ -72,5 +72,11 @@ public: { return region_size - (T::GetCodePtr() - region); } + + bool IsAlmostFull() const + { + // This should be bigger than the biggest block ever. + return GetSpaceLeft() < 0x10000; + } }; |
