aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-04-04 10:05:58 +0200
committerLars Knoll <lars.knoll@qt.io>2017-04-07 06:06:14 +0000
commit1e63f7c4833c19f760f4af0b7650311819d0f2b2 (patch)
tree355eec0c3e72969a7ff2719800697f19cfaba0c2 /src/qml/jsruntime/qv4engine_p.h
parenta410cb69012603a38a07f7670e2ad1c1876f675a (diff)
Cleanups
* Only call ExecutionEngine::markObjects() on a full GC, it doesn't do anything in the incrementall case anyway. * Move the marking of child objects into it's own method for clarity * Move collection of gray items down to happen directly before we drain the mark stack Change-Id: I41067e17d483067bd1c4d60da22c5628482dae78 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index cf2ebe268d..fdfdeada9a 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -446,7 +446,7 @@ public:
void requireArgumentsAccessors(int n);
- void markObjects(bool incremental);
+ void markObjects();
void initRootContext();