xemu/qom
Paolo Bonzini acc4af3fec qom: clean up/optimize object_dynamic_cast
The interface loop can be performed only on the parent object.  It
does not need to be done on each interface.  Similarly, we can
simplify the code by switching early from the implementation
object to the parent object.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2012-02-07 13:51:37 +01:00
..
Makefile container: make a decendent of Object 2012-02-03 10:41:08 -06:00
container.c container: make a decendent of Object 2012-02-03 10:41:08 -06:00
object.c qom: clean up/optimize object_dynamic_cast 2012-02-07 13:51:37 +01:00