Move readonly accessors into Heap::ArrayData
authorLars Knoll <lars.knoll@theqtcompany.com>
Mon, 17 Nov 2014 20:08:13 +0000 (21:08 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Wed, 10 Dec 2014 10:00:25 +0000 (11:00 +0100)
commit2e6e49f829d53fa4a08587bcd38f8db7903810e1
tree4a1eadaf9b86bba4f8fd677de477dac7af62b00f
parentd5b43dc8479f5a75ba2e3108d6454ff3f046a36e
Move readonly accessors into Heap::ArrayData

these methods don't modify the object, so it's safe to have them
there and this simplifies quite a bit of the code.

Change-Id: I2f591758efba9cb8d17b956bc7c02e2d7a468ea4
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4arraydata.cpp
src/qml/jsruntime/qv4arraydata_p.h