Skip to content

Commit

Permalink
JitArm64: annotate intentional fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilka committed Jun 14, 2020
1 parent 997103d commit e32a5a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit e32a5a9

Please sign in to comment.