diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-09-13 15:46:45 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-03 08:01:02 -0700 |
commit | a953b5fa153fc384d2631cda8213efe983501609 (patch) | |
tree | 7b60eacc84791bed8d12f0196cb1e19e768c3157 /softmmu | |
parent | 464dacf6090d859a919596ba7452498c7446ced1 (diff) | |
download | qemu-a953b5fa153fc384d2631cda8213efe983501609.zip qemu-a953b5fa153fc384d2631cda8213efe983501609.tar.gz qemu-a953b5fa153fc384d2631cda8213efe983501609.tar.bz2 |
accel/tcg: Remove cpu_neg()
Now that CPUNegativeOffsetState is part of CPUState,
we can reference it directly.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'softmmu')
-rw-r--r-- | softmmu/icount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/icount.c b/softmmu/icount.c index 956d15e..4527bfb 100644 --- a/softmmu/icount.c +++ b/softmmu/icount.c @@ -75,7 +75,7 @@ static void icount_enable_adaptive(void) static int64_t icount_get_executed(CPUState *cpu) { return (cpu->icount_budget - - (cpu_neg(cpu)->icount_decr.u16.low + cpu->icount_extra)); + (cpu->neg.icount_decr.u16.low + cpu->icount_extra)); } /* |