aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4internalclass_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-05-16 15:29:17 +0200
committerLars Knoll <lars.knoll@qt.io>2017-05-19 06:23:42 +0000
commit32a1d14a3a1dead69dd1306adf70eefd3415639e (patch)
treeb3d2a39941603c812be5bb0294204321c3117760 /src/qml/jsruntime/qv4internalclass_p.h
parent8bb01e03e018de7e040b3224c6cdaf43d86051e5 (diff)
Optimize marking of prototypes in the InternalClass tree
There's no need to iterate over all internal classes, as prototype changes always happen in the first or second level of the tree. Change-Id: I99bf11a6cd238286c1547922d61ab47319b6eb97 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4internalclass_p.h')
-rw-r--r--src/qml/jsruntime/qv4internalclass_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4internalclass_p.h b/src/qml/jsruntime/qv4internalclass_p.h
index 34422098d9..9e8ab9e73e 100644
--- a/src/qml/jsruntime/qv4internalclass_p.h
+++ b/src/qml/jsruntime/qv4internalclass_p.h
@@ -293,7 +293,6 @@ struct InternalClass : public QQmlJS::Managed {
Q_REQUIRED_RESULT InternalClass *propertiesFrozen() const;
void destroy();
- void mark(ExecutionEngine *e);
private:
Q_QML_EXPORT InternalClass *changeVTableImpl(const VTable *vt);