v4: ignore quiet bit for NaNs in 32 bit value encoding
authorFawzi Mohamed <fawzi.mohamed@digia.com>
Tue, 15 Apr 2014 22:42:40 +0000 (00:42 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 30 Apr 2014 16:24:08 +0000 (18:24 +0200)
commit7ea1f75fd877f312d70a90ab0405f3ca03914171
treede7e083482666a538672f420dccc2727c3cb6833
parent33268b1165eb03fb51de125d0da726d613f49b2d
v4: ignore quiet bit for NaNs in 32 bit value encoding

on iOS x % 0 generates a NaN with the silent bit set, i.e.
0x7ffc_0000_0000_0000 which was interpreted as a null managed object
which crashed the interpreter.

Task-number: QTBUG-36859
Change-Id: Idf31ad9f0454f83d321b49b2f76bdbc2ee906189
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/jsruntime/qv4value_p.h