aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4global_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-01-08 11:29:11 +0100
committerLars Knoll <lars.knoll@qt.io>2018-04-12 13:58:41 +0000
commitf3ae6799e1089321c2cd959b086f66b9bb9143b3 (patch)
tree8a7087bf1033cbd2a08defc717b388fa1710d074 /src/qml/jsruntime/qv4global_p.h
parentbed3baba0c36f52f640bd2afbe7689a5e7892ee2 (diff)
Optimize MM::allocManaged()
We can manage without calls to changeVTable() here, as the set of classes allocated with this is rather limited. Change-Id: I804e4850b91c61ebbca8a04edbe51deac911928d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4global_p.h')
-rw-r--r--src/qml/jsruntime/qv4global_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h
index 9b13d4e341..41015be24a 100644
--- a/src/qml/jsruntime/qv4global_p.h
+++ b/src/qml/jsruntime/qv4global_p.h
@@ -166,6 +166,7 @@ namespace Heap {
struct ExecutionContext;
struct CallContext;
+ struct QmlContext;
struct ScriptFunction;
struct BooleanObject;
@@ -196,6 +197,7 @@ struct ObjectPrototype;
struct ObjectIterator;
struct ExecutionContext;
struct CallContext;
+struct QmlContext;
struct ScriptFunction;
struct InternalClass;
struct Property;