mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1172657 - ToInt32's arm asm crashes Apple clang, so #ifdef around the assembly for now. r=waldo
This commit is contained in:
parent
74d6542c83
commit
bce39e38f3
@ -349,7 +349,9 @@ ToIntWidth(double d)
|
||||
inline int32_t
|
||||
ToInt32(double d)
|
||||
{
|
||||
#if defined (__arm__) && defined (__GNUC__)
|
||||
// clang crashes compiling this when targeting arm-darwin:
|
||||
// https://llvm.org/bugs/show_bug.cgi?id=22974
|
||||
#if defined (__arm__) && defined (__GNUC__) && !defined(__APPLE__)
|
||||
int32_t i;
|
||||
uint32_t tmp0;
|
||||
uint32_t tmp1;
|
||||
|
Loading…
Reference in New Issue
Block a user