summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2016-11-15 00:28:14 +1000
committerStenzek <stenzek@gmail.com>2016-11-15 00:28:14 +1000
commite83bf5705a173e80c2d83d29dab1e41c8a41bd19 (patch)
tree8fe1ac2126912c8063fac543b3a21d3fbba8afdf /Source/Core
parentc657134c866af4b88962aca807bdf5a91d4666f4 (diff)
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.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/JitArm64/JitArm64_Branch.cpp1
1 files changed, 1 insertions, 0 deletions
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);