From 2a46c1f86f8841255279138299d0f085ce127dbd Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 14 Jun 2020 07:56:39 +0100 Subject: [PATCH] JitArm64: annotate intentional fallthrough --- Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp index 74955b66bf..b73c42ce99 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp @@ -366,18 +366,21 @@ void JitArm64::stX(UGeckoInstruction inst) { case 183: // stwux update = true; + [[fallthrough]]; case 151: // stwx flags |= BackPatchInfo::FLAG_SIZE_32; regOffset = b; break; case 247: // stbux update = true; + [[fallthrough]]; case 215: // stbx flags |= BackPatchInfo::FLAG_SIZE_8; regOffset = b; break; case 439: // sthux update = true; + [[fallthrough]]; case 407: // sthx flags |= BackPatchInfo::FLAG_SIZE_16; regOffset = b; @@ -391,11 +394,13 @@ void JitArm64::stX(UGeckoInstruction inst) break; case 39: // stbu update = true; + [[fallthrough]]; case 38: // stb flags |= BackPatchInfo::FLAG_SIZE_8; break; case 45: // sthu update = true; + [[fallthrough]]; case 44: // sth flags |= BackPatchInfo::FLAG_SIZE_16; break;