Fix GC errors in small objects during construction
authorSimon Hausmann <simon.hausmann@digia.com>
Fri, 21 Jun 2013 19:28:11 +0000 (21:28 +0200)
committerLars Knoll <lars.knoll@digia.com>
Fri, 21 Jun 2013 19:47:17 +0000 (21:47 +0200)
commit9fe5cb27f27d4a3118601818af8246f9edbaeaff
tree0bce5132e9350b52d2c671bc7651862b2b21c770
parente9d57cd809e8af696119a89592d05ea33aa99a79
Fix GC errors in small objects during construction

When creating small objects with for example only one accessor property,
then that is stored in the inline member allocation, which needs to
be initialized as well to prevent GCs during construction to access
uninitialized members.

Change-Id: Ie20d27a650e09475845f8ee6aa79b8e62a4bb795
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4object.cpp