aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4compilationunitmapper_unix.cpp
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2023-07-11 11:16:43 +0200
committerUlf Hermann <[email protected]>2023-07-26 15:36:59 +0200
commit0e1a51367a4b00164d055f527ce0d08f78737bcb (patch)
tree5ae962b79767bab05328846629e4ab16d8b39d26 /src/qml/jsruntime/qv4compilationunitmapper_unix.cpp
parent7caa8fd024b2bea6f739486922581df61009f18c (diff)
QV4::ArrayData: Fix offset calculation for sort()
We cannot just sort the raw values. We have to take the offset into account. If the array wraps around the end of the allocation, we have to move it around to be contiguous. Fixes: QTBUG-58718 Change-Id: I1866b3f271d97352e250d687955af3fc54340334 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> (cherry picked from commit f0b2fbcf47f00071a7f5f1a04258d451badcb81a)
Diffstat (limited to 'src/qml/jsruntime/qv4compilationunitmapper_unix.cpp')
0 files changed, 0 insertions, 0 deletions