diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-06-24 17:07:39 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-08-09 16:53:44 +0200 |
commit | 00b580427071acb9341bc49fe37e289201cbf02c (patch) | |
tree | 4547f29af72dda89bb4d88f836526e07f63c090f /src/qml/qml/qqmljavascriptexpression.cpp | |
parent | abbcbf22079a9135e9bd19ac4e0e3c71e2f5f792 (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