зеркало из https://github.com/mozilla/pjs.git
Fix #61751. sr=brendan,r=mang. #define changes to fix floating point bug
in JavaScript on NetBSD/arm32.
This commit is contained in:
Родитель
d82bb05d90
Коммит
647b80f187
|
@ -241,7 +241,7 @@ Exactly one of IEEE_8087 or IEEE_MC68k should be defined.
|
||||||
* differently: the 32 bit words are in little endian byte order, the two words
|
* differently: the 32 bit words are in little endian byte order, the two words
|
||||||
* are stored in big endian`s way.
|
* are stored in big endian`s way.
|
||||||
*/
|
*/
|
||||||
#if defined (IEEE_8087) && !defined(__arm)
|
#if defined (IEEE_8087) && !defined(__arm) && !defined(__arm32__) && !defined(__arm26__)
|
||||||
#define word0(x) ((ULong *)&x)[1]
|
#define word0(x) ((ULong *)&x)[1]
|
||||||
#define word1(x) ((ULong *)&x)[0]
|
#define word1(x) ((ULong *)&x)[0]
|
||||||
#else
|
#else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче