summary refs log tree commit diff stats
path: root/target-openrisc/exception.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-03-12 13:24:49 +0000
committerAndreas Färber <afaerber@suse.de>2014-03-13 19:20:46 +0100
commit7372c2b926200db295412efbb53f93773b7f1754 (patch)
tree56b927b0c90e1125dd162cbf38367e70c97cfdc5 /target-openrisc/exception.c
parent9262685b818512215f0829f0dc95c2363898a1ad (diff)
downloadfocaccia-qemu-7372c2b926200db295412efbb53f93773b7f1754.tar.gz
focaccia-qemu-7372c2b926200db295412efbb53f93773b7f1754.zip
target-m68k: Remove custom qemu_assert() function
Remove the custom qemu_assert() function defined by target-m68k/translate.c
in favour of either using glib g_assert_not_reached() (for the genuinely
can't-happen cases) or cpu_abort() (for the "this isn't implemented",
in line with other unimplemented cases in the target).

This has the benefit of silencing some clang warnings about
variables used while uninitialized (which are emitted because
clang can't figure out that qemu_assert(0, something) never
returns.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-openrisc/exception.c')
0 files changed, 0 insertions, 0 deletions