misc: Replace M5_FALLTHROUGH with GEM5_FALLTHROUGH.

Change-Id: I058f311b6d9c284f745bcc915db72236d05db21b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45233
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2021-05-08 20:29:26 -07:00
parent e1fea279e2
commit 11fe13c311
21 changed files with 38 additions and 38 deletions

View File

@@ -139,7 +139,7 @@ Print::processFlag()
case 'X':
fmt.uppercase = true;
M5_FALLTHROUGH;
GEM5_FALLTHROUGH;
case 'x':
fmt.base = Format::Hex;
fmt.format = Format::Integer;
@@ -161,7 +161,7 @@ Print::processFlag()
case 'G':
fmt.uppercase = true;
M5_FALLTHROUGH;
GEM5_FALLTHROUGH;
case 'g':
fmt.format = Format::Floating;
fmt.floatFormat = Format::Best;
@@ -170,7 +170,7 @@ Print::processFlag()
case 'E':
fmt.uppercase = true;
M5_FALLTHROUGH;
GEM5_FALLTHROUGH;
case 'e':
fmt.format = Format::Floating;
fmt.floatFormat = Format::Scientific;
@@ -217,7 +217,7 @@ Print::processFlag()
fmt.fillZero = true;
break;
}
M5_FALLTHROUGH;
GEM5_FALLTHROUGH;
case '1':
case '2':
case '3':

View File

@@ -57,7 +57,7 @@ createImgWriter(Enums::ImageFormat type, const FrameBuffer *fb)
// gem5 will try PNG first, and it will fallback to BMP if not
// available.
M5_FALLTHROUGH;
GEM5_FALLTHROUGH;
#if HAVE_PNG
case Enums::Png:
return std::unique_ptr<PngWriter>(new PngWriter(fb));