Prevent accidental allocation of GC managed objects on the regular heap
authorSimon Hausmann <simon.hausmann@digia.com>
Thu, 13 Dec 2012 11:58:21 +0000 (12:58 +0100)
committerLars Knoll <lars.knoll@digia.com>
Thu, 13 Dec 2012 12:29:02 +0000 (13:29 +0100)
commit73824a7b6fbaa91c02a3b0e88b1c86f3267c5f49
treea6ab9a8f77a6ff47b2b47dbb09323719b324e0d6
parent5d97f07d5c7848a453a29814d357bf91e8f2ce19
Prevent accidental allocation of GC managed objects on the regular heap

Make the regular new operator private. As it turns out no other changes
were required, all the existing objects are already allocated on the
GC heap, thanks to the new* factor functions in ExecutionEngine.

Change-Id: I9b69221b5bbc4491ca909ec6bb5afe0f3c010b54
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
qmljs_objects.h