summaryrefslogtreecommitdiffstats
path: root/async.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-05-10 14:16:37 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-05-13 09:52:06 -0500
commit793c96b5403233fd9935c94b2af6d557c297a088 (patch)
tree544971a075a681f2c58b13097871ac54d77d74b5 /async.c
parentbf0fda346694db1eddecff1d74ff9f4d5eba3461 (diff)
downloadhqemu-793c96b5403233fd9935c94b2af6d557c297a088.zip
hqemu-793c96b5403233fd9935c94b2af6d557c297a088.tar.gz
qom: add a fast path to object_class_dynamic_cast
For leaf classes, in many cases the callbacks will simply downcast the object back to the original class. Add this fast path to object_class_dynamic_cast, object_dynamic_cast will inherit it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1368188203-3407-4-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud