aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmljavascriptexpression.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-06-24 17:07:39 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2021-08-09 16:53:44 +0200
commit00b580427071acb9341bc49fe37e289201cbf02c (patch)
tree4547f29af72dda89bb4d88f836526e07f63c090f /src/qml/qml/qqmljavascriptexpression.cpp
parentabbcbf22079a9135e9bd19ac4e0e3c71e2f5f792 (diff)
QQmlPropertyBinding: special case types at compile time
This mirrors the approach done for QQmlBinding, except that instance of virtual functions we use function pointers. This allows for more efficient code than the runtime metatype switching, at the expense of slightly more generated code. The refactoring coincidentally also fixes compilation with clang-cl. Pick-to: 6.2 Fixes: QTBUG-95575 Change-Id: I9ced2c37a1a2523a2864394a0dbe762ebacbb8ce Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/qml/qqmljavascriptexpression.cpp')
0 files changed, 0 insertions, 0 deletions