aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4object.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-09-24 09:09:47 +0200
committerLars Knoll <lars.knoll@qt.io>2018-09-27 08:34:02 +0000
commitb6f2b4308b024a92d18bdb81db9fa7dc37213eb3 (patch)
tree678d634000f9f0b946eb7ad8adc4d875948a1a8c /src/qml/jsruntime/qv4object.cpp
parent7cc66a996e70c52bc274ae9f15f65e8a638894d9 (diff)
Don't move any property slots in Objects anymore
Until now, changing an existing property into an accessor property would cause the slots in the object to get re-arranged to make space for the additional setter required. Change this by dropping the requirement that getter and setter slot have to be next to each other. This has the advantage, that any slot we define to be at a certain position in the internal class/object will stay there and we can use that assumption to optimize accesses to the slot. Change-Id: Ib37c2a49fc6aae42ea4b2da36ac1dc3036540c12 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4object.cpp')
0 files changed, 0 insertions, 0 deletions