diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2023-11-22 10:33:59 +0100 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-11-27 14:35:03 +0100 |
| commit | 3193911b02424dd0365e03526a4c12ed7888b7ca (patch) | |
| tree | 6c706a128972e1d061f26c70bdd68abb2927e374 /src/quick/doc/snippets/qml | |
| parent | adc3455c115ab072fdb85e7d1206c835067fd532 (diff) | |
QmlCompiler: Use std::move in more places
We can always use std::move in jump code since we always move between
instances of the same conceptual register. We can also always move out
of the temporary "retrieved" variable at the end of a lookup.
Also, prevent the jump code from generating self-assignments for
registers.
Coverity-Id: 427089
Coverity-Id: 427088
Coverity-Id: 427083
Coverity-Id: 427082
Coverity-Id: 427081
Coverity-Id: 427080
Coverity-Id: 427079
Coverity-Id: 427075
Change-Id: I25a008e718b6695536262f13026168d3be466d11
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/quick/doc/snippets/qml')
0 files changed, 0 insertions, 0 deletions
