If --enable-jit=yes, '0<=NaN' returns false. If --enable-jit=no, '0<=NaN' returns true. it is not corrected.
<rdar://problem/19280919>
Can you be more specific? I tried this: [redacted]> JSC_useJIT=0 DYLD_FRAMEWORK_PATH=./Contents/Frameworks/ ./Contents/Resources/jsc >>> 0<=NaN false
I am using WebKitGTK2.0.1 which didn't change the JavascriptCore. My test script is: <script> 0 <= NaN?console.log("TRUE"):console.log("FALSE"); </script> OS: Linux. Result: If --enable-jit=yes, "0 <= NaN" always is FALSE no matter if JIT is enabled by ENV If --enable-jit=no, "0 <= NaN" always is TRUE. So, JIT must be disabled in the build configuration in order to reproduce this issue.
If disabling the JIT in the build configuration, the issue can reproduced. So It is reopened. JSC_useJIT=0 can't reproduce this issue if --enable-jit=yes in the build configuration.
In only a few versions of offlineasm/cloop.rb, "isnan" was used (not "std::isnan"). This issue can't be reproduced if using "std::isnan", so it is set to be 'WONTFIX'