diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-01-03 12:26:19 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-01-03 14:24:52 +0100 |
commit | 03573f480a086ede7c8150a800790be22fa43d4d (patch) | |
tree | bfbcb15f39c17865f2cd3402f74c4ce1baebc529 /qmljs_engine.h | |
parent | 215c0458e6b6f19677b6ba0b3a88ecc3b2e4b58b (diff) |
Clean up memory manager ownership
Since we have now only one memory manager, we might as well let the
ExecutionEngine create and own it.
Change-Id: I908adadf64da59e0b8f4c09d4d9502785399cb99
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'qmljs_engine.h')
-rw-r--r-- | qmljs_engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmljs_engine.h b/qmljs_engine.h index dd856f62b7..e281620b21 100644 --- a/qmljs_engine.h +++ b/qmljs_engine.h @@ -157,7 +157,7 @@ struct ExecutionEngine QScopedPointer<class StringPool> stringPool; QVector<Function *> functions; - ExecutionEngine(MemoryManager *memoryManager, EvalISelFactory *iselFactory); + ExecutionEngine(EvalISelFactory *iselFactory); ~ExecutionEngine(); ExecutionContext *newContext(); |