unicorn/qemu/scripts
Eric Blake cd19e75fc2
qapi: Inline gen_visit_members() into lone caller
Commit 82ca8e46 noticed that we had multiple implementations of
visiting every member of a struct, and consolidated it into
gen_visit_fields() (now gen_visit_members()) with enough
parameters to cater to slight differences between the clients.
But recent exposure of implicit types has meant that we are now
down to a single use of that method, so we can clean up the
unused conditionals and just inline it into the remaining
caller: gen_visit_object_members().

Likewise, gen_err_check() no longer needs optional parameters,
as the lone use of non-defaults was via gen_visit_members().

No change to generated code.

Backports commit 12f254fd5f98717d17f079c73500123303b232da from qemu
2018-02-21 22:47:50 -05:00
..
create_config more cleanup qemu/configure 2017-01-19 14:11:54 +08:00
make_device_config.sh fix file perms 2015-08-28 21:05:38 -07:00
ordereddict.py import 2015-08-21 15:04:50 +08:00
qapi-event.py qapi-event: Utilize implicit struct visits 2018-02-21 22:45:28 -05:00
qapi-types.py qapi: Emit implicit structs in generated C 2018-02-21 22:31:15 -05:00
qapi-visit.py qapi: Inline gen_visit_members() into lone caller 2018-02-21 22:47:50 -05:00
qapi.py qapi: Inline gen_visit_members() into lone caller 2018-02-21 22:47:50 -05:00