From 81ac3bd856e7c6ead21fc2efc34cdf52cd9196b1 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 30 Aug 2019 13:22:43 +0200 Subject: Implement lookups for enums Task-number: QTBUG-77237 Change-Id: Ibe8fe8044b96d9d4b7a1a31b432daa886edbd799 Reviewed-by: Fabian Kosmale Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4lookup_p.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/qml/jsruntime') diff --git a/src/qml/jsruntime/qv4lookup_p.h b/src/qml/jsruntime/qv4lookup_p.h index fb4c5f6864..31c90b31f6 100644 --- a/src/qml/jsruntime/qv4lookup_p.h +++ b/src/qml/jsruntime/qv4lookup_p.h @@ -155,6 +155,15 @@ struct Q_QML_PRIVATE_EXPORT Lookup { Heap::Object *qmlTypeWrapper; quintptr unused2; } qmlTypeLookup; + struct { + Heap::InternalClass *ic; + quintptr unused; + ReturnedValue encodedEnumValue; + } qmlEnumValueLookup; + struct { + Heap::InternalClass *ic; + Heap::Object *qmlScopedEnumWrapper; + } qmlScopedEnumWrapperLookup; }; uint nameIndex; -- cgit v1.2.3