diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-04-20 20:07:38 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-05-02 16:49:34 +0200 |
| commit | 905bdf72a6373bcb46fbdc8b9d7d9f83d134a266 (patch) | |
| tree | 0c9241f34749529e15b1b3ab8e87e8f1434f396d /hw/avr/arduino.c | |
| parent | df44e81703968d22ce59e1160f970c5e70db2cfb (diff) | |
| download | focaccia-qemu-905bdf72a6373bcb46fbdc8b9d7d9f83d134a266.tar.gz focaccia-qemu-905bdf72a6373bcb46fbdc8b9d7d9f83d134a266.zip | |
target/mips: Make check_cp0_enabled() return a boolean
To avoid callers to emit dead code if check_cp0_enabled() raise an exception, let it return a boolean value, whether CP0 is enabled or not. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210420193453.1913810-4-f4bug@amsat.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions