diff options
author | Emilio G. Cota | 2018-06-22 19:45:31 +0200 |
---|---|---|
committer | Peter Maydell | 2018-06-22 19:55:24 +0200 |
commit | f28d0dfdce5754d80d2a5993fff2f5312b32cac1 (patch) | |
tree | a617a0509e7b4eac361345a3f1d0a1a33fcc0dfb /tests/test-string-input-visitor.c | |
parent | Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2018-06-22' into ... (diff) | |
download | qemu-f28d0dfdce5754d80d2a5993fff2f5312b32cac1.tar.gz qemu-f28d0dfdce5754d80d2a5993fff2f5312b32cac1.tar.xz qemu-f28d0dfdce5754d80d2a5993fff2f5312b32cac1.zip |
tcg: fix --disable-tcg build breakage
Fix the --disable-tcg breakage introduced by tb_lock's removal by
relying on the fact that tcg_enabled() is set to 0 at
compile-time under --disable-tcg.
While at it, add further asserts to fix builds that enable both
--disable-tcg and --enable-debug, which were broken even before
tb_lock's removal.
Tested to build x86_64-softmmu and i386-softmmu targets.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/test-string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions