From f6aca69ea0d7e6dfc86373581eb8fee4c53331d5 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Fri, 24 May 2024 20:51:39 +0200 Subject: [PATCH] PPCAnalyst: Remove unused member isBranchTarget Branch targets always start a new block, so this variable isn't useful. --- Source/Core/Core/PowerPC/JitCommon/JitBase.cpp | 2 -- Source/Core/Core/PowerPC/PPCAnalyst.h | 1 - 2 files changed, 3 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/JitBase.cpp b/Source/Core/Core/PowerPC/JitCommon/JitBase.cpp index 5ec9af3967..372a06008c 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitBase.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/JitBase.cpp @@ -272,8 +272,6 @@ bool JitBase::CanMergeNextInstructions(int count) const { return false; } - if (js.op[i].isBranchTarget) - return false; } return true; } diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.h b/Source/Core/Core/PowerPC/PPCAnalyst.h index 4e665d8d42..ed0242498b 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.h +++ b/Source/Core/Core/PowerPC/PPCAnalyst.h @@ -38,7 +38,6 @@ struct CodeOp // 16B s8 fregOut = 0; BitSet8 crIn; BitSet8 crOut; - bool isBranchTarget = false; bool branchUsesCtr = false; bool branchIsIdleLoop = false; BitSet8 wantsCR;