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>
virtual void getCollectables(QVector<Object *> &objects) = 0;
private:
+ void *operator new(size_t);
friend class MemoryManager;
MemoryManager *mm;
};