From e83bf5705a173e80c2d83d29dab1e41c8a41bd19 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 15 Nov 2016 00:28:14 +1000 Subject: [PATCH] JitArm64: Don't emit normal block exit for branch-to-self instructions The normal block exit is redundant as the exception exit will jump out of the block first, meaning this code is never executed. --- Source/Core/Core/PowerPC/JitArm64/JitArm64_Branch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Branch.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Branch.cpp index 307ea6e220..7ed396fb77 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Branch.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Branch.cpp @@ -105,6 +105,7 @@ void JitArm64::bx(UGeckoInstruction inst) gpr.Unlock(WA); WriteExceptionExit(js.compilerPC); + return; } WriteExit(destination);