Move handling of multiply wrapped QObjects from QV8QObjectWrapper into QV4::Execution...
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 4 Jun 2013 12:28:13 +0000 (14:28 +0200)
committerLars Knoll <lars.knoll@digia.com>
Wed, 5 Jun 2013 08:45:41 +0000 (10:45 +0200)
commit658872faa2b76987c7b2abef95c9711cf4caa1c7
treeac5888bd39fcdba60de06df0cf8530416ea687f0
parentd5f3186bdcad470b7685bfd806acde51b71b152d
Move handling of multiply wrapped QObjects from QV8QObjectWrapper into QV4::ExecutionEngine

The bookkeeping is annoying to do, but it should be a rare case. The common case of a
QObject being wrapped only once is still lightweight as-is.

Change-Id: I12e9b67270ca2afbd77b4395246eef0dfc324f8f
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4engine.cpp
src/qml/qml/v4/qv4engine_p.h
src/qml/qml/v4/qv4mm.cpp
src/qml/qml/v8/qv8qobjectwrapper.cpp
src/qml/qml/v8/qv8qobjectwrapper_p.h