summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3dns/q3dns.pro
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-05 17:16:37 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-06 08:16:40 (GMT)
commit37bd7a5711e57ea8c45ae75102ddee3ab905a0e5 (patch)
tree62ad5ea444763c07caca7206bf488d3f65f8547e /tests/auto/q3dns/q3dns.pro
parent39dc3026d1da03d5fcf8e5c516fadd7e4ea8a861 (diff)
downloadQt-37bd7a5711e57ea8c45ae75102ddee3ab905a0e5.zip
Qt-37bd7a5711e57ea8c45ae75102ddee3ab905a0e5.tar.gz
Qt-37bd7a5711e57ea8c45ae75102ddee3ab905a0e5.tar.bz2
QScript: do not crash on PowerPC
There is no 'this' register in the global context. The computation of the this register for the global context gives the 'codeBlock' register in the frame header. On Intel processor, a JSValue() is 0x0 when converted to a pointer, but this is not the case on PowerPC (it is 0xfffffff9) so it just crash later when acessing the code block. Solution: special condition for the global context when getting the 'this' object Reviewed-by: Kent Hansen
Diffstat (limited to 'tests/auto/q3dns/q3dns.pro')
0 files changed, 0 insertions, 0 deletions