arch,base,cpu,dev: Get rid of the M5_DUMMY_RETURN macro.
authorGabe Black <gabeblack@google.com>
Sat, 26 Sep 2020 23:30:28 +0000 (16:30 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 28 Sep 2020 05:41:26 +0000 (05:41 +0000)
commit62aa07c9153dfcf834a13d69b42046724ed56223
tree003c2eacc55b540892bba67e7f64006bd826b787
parent50a0b85367859ab6c67a772f76fc1825126b2c8d
arch,base,cpu,dev: Get rid of the M5_DUMMY_RETURN macro.

This macro probably would have been defined to "return" in some cases,
to be put after a call to a function that doesn't return so that the
compiler wouldn't think control would reach the end of a non-void
function. It was only ever defined to expand to nothing, and now that
[[noreturn]] is a standard attribute, it should never be needed going
forward.

Change-Id: I37625eab72deeaede77f9347116b9fddd75febf7
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35217
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/utility.cc
src/arch/mips/utility.cc
src/arch/sparc/utility.cc
src/base/compiler.hh
src/cpu/static_inst.cc
src/dev/baddev.cc
src/dev/mips/malta.hh
src/dev/sparc/t1000.cc