diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-07-07 14:13:22 +0300 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-07-08 09:44:26 +0000 |
commit | f558bc48585c69de36151248c969a484a969ebb4 (patch) | |
tree | 68561c583d5d8ec36197f46cfb1755309a3e0596 /src/qml/qml/qqmlvmemetaobject.cpp | |
parent | b69449b0a148d1546205cd8ca36ba87f88b449e6 (diff) |
Fix encoding of QV4::Value in host builds
When building on a 64-bit host targeting a 32-bit architecture, we would
use QT_POINTER_SIZE == 4 from qconfig.h, which is unfortunately shared.
However on 64-bit hosts the 32-bit encoding appears to result in gcc/clang
to miscompile simple QV4::Value uses - when optimizations are enabled.
As a workaround, let's use 64-bit encoding in all host scenarios.
Change-Id: I000cf13abcc9240c931191d6361b6dee578cb5d4
Task-number: QTBUG-45364
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlvmemetaobject.cpp')
0 files changed, 0 insertions, 0 deletions