diff options
| author | Erik Verbruggen <erik.verbruggen@qt.io> | 2019-02-19 15:48:12 +0100 |
|---|---|---|
| committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2019-02-21 09:25:40 +0000 |
| commit | 0526c0464dc271e9c7b5dce58cb3e85dab4340c8 (patch) | |
| tree | bdbe544e53278515de64963f979defc3af66c82c /src/qml/doc/snippets | |
| parent | 573afc9fdd093724dd58f818b965f42fca8bd1a8 (diff) | |
Tweak managed/undefined checks in QV4::Value for 32bit systems
On 32 bit systems, the pointers can only be 32 bit. So instead of
shifting bits 32-49 away in the upper part of the 64 bit value,
we can just check if the tag (the upper 32 bits) is 0.
Change-Id: I25e6542676e8aa2c566f10c70c532dd8bf5c7192
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/snippets')
0 files changed, 0 insertions, 0 deletions
