diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-09-14 11:08:14 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-09-14 09:22:07 +0000 |
commit | dfb3ba6329147f0d0ea22d62b9903246ce2934bd (patch) | |
tree | 0766303a26c9c56770c2f558be36e6827bd7123b /src/qml/jsruntime/qv4value_p.h | |
parent | 29bce8e5977158b7766b241ba3b1d36dd79ebebf (diff) |
Fix 32bit builds/tests
Now that we use the xor-NaN boxing on all platforms, the 32bit checks
are not valid anymore. We do need to check if we still want specialized
32bit versions to prevent bad code generation for the 64bit stored
value.
Task-number: QTBUG-63194
Change-Id: Ic58a174194bfd343c09b78076ecbf8f2816d5749
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4value_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4value_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4value_p.h b/src/qml/jsruntime/qv4value_p.h index d49dde2557..17aea4e022 100644 --- a/src/qml/jsruntime/qv4value_p.h +++ b/src/qml/jsruntime/qv4value_p.h @@ -292,7 +292,7 @@ public: inline bool isNullOrUndefined() const { return isNull() || isUndefined(); } inline bool isNumber() const { return quickType() >= QT_Int; } -#if QT_POINTER_SIZE == 8 +#if /*QT_POINTER_SIZE ==*/ 8 // TODO: check if we need specialized versions for 32bit inline bool isUndefined() const { return _val == 0; } inline bool isDouble() const { return (_val >> IsDouble_Shift); } inline bool isManaged() const { return _val && ((_val >> IsManagedOrUndefined_Shift) == 0); } |