diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-08-30 13:22:43 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-09-06 10:34:08 +0200 |
commit | 81ac3bd856e7c6ead21fc2efc34cdf52cd9196b1 (patch) | |
tree | 857629b38df9f52d6e02c095af9248a0783a1705 /src/qml/jsruntime/qv4lookup_p.h | |
parent | f2262b10e23cc4f90838067bc658807ab8c8d3a8 (diff) |
Implement lookups for enums
Task-number: QTBUG-77237
Change-Id: Ibe8fe8044b96d9d4b7a1a31b432daa886edbd799
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4lookup_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4lookup_p.h | 9 |
1 files changed, 9 insertions, 0 deletions
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; |