Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPU: Disable "special branch patchpoints" #6942

Merged
merged 5 commits into from Nov 4, 2019
Merged

Conversation

Nekotekina
Copy link
Member

@Nekotekina Nekotekina commented Nov 3, 2019

atomic2 commits don't affect RPCS3 at the moment because unused.

@@ -4654,7 +4654,7 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator

if (found == m_functions.end())
{
if (g_cfg.core.spu_verification)
if (false && g_cfg.core.spu_verification)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this have any benefit over commenting out via #if 0?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, #if completely disables the code. With if (false) it's still compiled, just never executed. Lesser chance to break it after refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants