aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2018-03-16 04:16:48 +1000
committerLorn Potter <lorn.potter@gmail.com>2018-03-23 07:02:08 +0000
commit0abec22f157e0931ce2622bd81d536028c9dd734 (patch)
treeff700057b38d87e6a59fdc4fe0068764df0905a9 /src/qml/qml
parente1443d4e186b8fecfb6ffb890c8780fd0552dceb (diff)
webassembly: revert the bitfield patch
The bitfield changes are no longer needed, as the problem with variables becoming unchangable seems to have been fixed, or has cleared itself up. Change-Id: Ia681b7410922473ab26ff57894582f8386380a86 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/qml/qml')
-rw-r--r--src/qml/qml/qqmlpropertycache_p.h27
-rw-r--r--src/qml/qml/qqmltypeloader_p.h6
2 files changed, 0 insertions, 33 deletions
diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h
index 5553fe6b80..51a191a41f 100644
--- a/src/qml/qml/qqmlpropertycache_p.h
+++ b/src/qml/qml/qqmlpropertycache_p.h
@@ -108,7 +108,6 @@ public:
enum { BitsLeftInFlags = 10 };
unsigned _otherBits : BitsLeftInFlags; // align to 32 bits
-#ifndef QT_NO_BITFIELDS
// Can apply to all properties, except IsFunction
unsigned isConstant : 1; // Has CONST flag
unsigned isWritable : 1; // Has WRITE function
@@ -134,33 +133,7 @@ public:
// Internal QQmlPropertyCache flags
unsigned notFullyResolved : 1; // True if the type data is to be lazily resolved
unsigned overrideIndexIsProperty: 1;
-#else
- unsigned isConstant = 1; // Has CONST flag
- unsigned isWritable = 1; // Has WRITE function
- unsigned isResettable = 1; // Has RESET function
- unsigned isAlias = 1; // Is a QML alias to another property
- unsigned isFinal = 1; // Has FINAL flag
- unsigned isOverridden = 1; // Is overridden by a extension property
- unsigned isDirect = 1; // Exists on a C++ QMetaObject
- unsigned type = 4; // stores an entry of Types
-
- // Apply only to IsFunctions
- unsigned isVMEFunction = 1; // Function was added by QML
- unsigned hasArguments = 1; // Function takes arguments
- unsigned isSignal = 1; // Function is a signal
- unsigned isVMESignal = 1; // Signal was added by QML
- unsigned isV4Function = 1; // Function takes QQmlV4Function* args
- unsigned isSignalHandler = 1; // Function is a signal handler
- unsigned isOverload = 1; // Function is an overload of another function
- unsigned isCloned = 1; // The function was marked as cloned
- unsigned isConstructor = 1; // The function was marked is a constructor
-
- // Internal QQmlPropertyCache flags
- unsigned notFullyResolved = 1; // True if the type data is to be lazily resolved
- unsigned overrideIndexIsProperty = 1;
-
-#endif
inline Flags();
inline bool operator==(const Flags &other) const;
inline void copyPropertyTypeFlags(Flags from);
diff --git a/src/qml/qml/qqmltypeloader_p.h b/src/qml/qml/qqmltypeloader_p.h
index e1a7ac7f06..713f707387 100644
--- a/src/qml/qml/qqmltypeloader_p.h
+++ b/src/qml/qml/qqmltypeloader_p.h
@@ -217,15 +217,9 @@ private:
// List of QQmlDataBlob's that I am waiting for to complete.
QList<QQmlDataBlob *> m_waitingFor;
-#ifndef QT_NO_BITFIELDS
int m_redirectCount:30;
bool m_inCallback:1;
bool m_isDone:1;
-#else
- int m_redirectCount = 30;
- bool m_inCallback = 1;
- bool m_isDone =1;
-#endif
};
class QQmlTypeLoaderThread;