Fix execution with MM_AGGRESSIVE_GC=1
authorSimon Hausmann <simon.hausmann@digia.com>
Fri, 14 Dec 2012 08:55:10 +0000 (09:55 +0100)
committerLars Knoll <lars.knoll@digia.com>
Fri, 14 Dec 2012 11:59:43 +0000 (12:59 +0100)
commitb33c0ab3fa936f236e9873ee91cf5f570b28db36
tree43df020a1e1249776572e44dfd9db54771f9a6dd
parentad1e9fb11927d470184b0f5bb2d702e563ff68d1
Fix execution with MM_AGGRESSIVE_GC=1

Make sure that the current context pointer is initialized to the
root context, so that early GC runs before the first function call
find an initialized pointer in MemoryManager::collectRoots.

Change-Id: I224695b253e27674913310b76d12d42bff5c1b82
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
qmljs_engine.cpp