JitArm64: annotate intentional fallthrough
This commit is contained in:
parent
458ef11ad6
commit
2a46c1f86f
|
@ -366,18 +366,21 @@ void JitArm64::stX(UGeckoInstruction inst)
|
||||||
{
|
{
|
||||||
case 183: // stwux
|
case 183: // stwux
|
||||||
update = true;
|
update = true;
|
||||||
|
[[fallthrough]];
|
||||||
case 151: // stwx
|
case 151: // stwx
|
||||||
flags |= BackPatchInfo::FLAG_SIZE_32;
|
flags |= BackPatchInfo::FLAG_SIZE_32;
|
||||||
regOffset = b;
|
regOffset = b;
|
||||||
break;
|
break;
|
||||||
case 247: // stbux
|
case 247: // stbux
|
||||||
update = true;
|
update = true;
|
||||||
|
[[fallthrough]];
|
||||||
case 215: // stbx
|
case 215: // stbx
|
||||||
flags |= BackPatchInfo::FLAG_SIZE_8;
|
flags |= BackPatchInfo::FLAG_SIZE_8;
|
||||||
regOffset = b;
|
regOffset = b;
|
||||||
break;
|
break;
|
||||||
case 439: // sthux
|
case 439: // sthux
|
||||||
update = true;
|
update = true;
|
||||||
|
[[fallthrough]];
|
||||||
case 407: // sthx
|
case 407: // sthx
|
||||||
flags |= BackPatchInfo::FLAG_SIZE_16;
|
flags |= BackPatchInfo::FLAG_SIZE_16;
|
||||||
regOffset = b;
|
regOffset = b;
|
||||||
|
@ -391,11 +394,13 @@ void JitArm64::stX(UGeckoInstruction inst)
|
||||||
break;
|
break;
|
||||||
case 39: // stbu
|
case 39: // stbu
|
||||||
update = true;
|
update = true;
|
||||||
|
[[fallthrough]];
|
||||||
case 38: // stb
|
case 38: // stb
|
||||||
flags |= BackPatchInfo::FLAG_SIZE_8;
|
flags |= BackPatchInfo::FLAG_SIZE_8;
|
||||||
break;
|
break;
|
||||||
case 45: // sthu
|
case 45: // sthu
|
||||||
update = true;
|
update = true;
|
||||||
|
[[fallthrough]];
|
||||||
case 44: // sth
|
case 44: // sth
|
||||||
flags |= BackPatchInfo::FLAG_SIZE_16;
|
flags |= BackPatchInfo::FLAG_SIZE_16;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue