| Index: src/platform-posix.cc
|
| diff --git a/src/platform-posix.cc b/src/platform-posix.cc
|
| index 087625a6b5441300a881a0c7c2becd250b092ed6..3915fb3af4b168d898437d83b142fa2278e673f3 100644
|
| --- a/src/platform-posix.cc
|
| +++ b/src/platform-posix.cc
|
| @@ -606,6 +606,11 @@ static void SetThreadName(const char* name) {
|
|
|
|
|
| static void* ThreadEntry(void* arg) {
|
| +#if V8_OS_QNX && V8_HOST_ARCH_ARM
|
| + // On QNX/ARM, subnormal float support is a per-thread setting,
|
| + // disabled by default. Enable it in all new threads.
|
| + OS::ArmEnableSubnormalFloat();
|
| +#endif
|
| Thread* thread = reinterpret_cast<Thread*>(arg);
|
| // This is also initialized by the first argument to pthread_create() but we
|
| // don't know which thread will run first (the original thread or the new
|
|
|