WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
Bug 139679
0<=NaN return TRUE if disabling JIT
https://bugs.webkit.org/show_bug.cgi?id=139679
Summary
0<=NaN return TRUE if disabling JIT
Mark Wang
Reported
2014-12-16 06:49:34 PST
If --enable-jit=yes, '0<=NaN' returns false. If --enable-jit=no, '0<=NaN' returns true. it is not corrected.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-12-17 10:53:17 PST
<
rdar://problem/19280919
>
Geoffrey Garen
Comment 2
2014-12-17 16:41:17 PST
Can you be more specific? I tried this: [redacted]> JSC_useJIT=0 DYLD_FRAMEWORK_PATH=./Contents/Frameworks/ ./Contents/Resources/jsc
>>> 0<=NaN
false
Mark Wang
Comment 3
2014-12-17 17:38:37 PST
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.
Mark Wang
Comment 4
2014-12-17 17:43:33 PST
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.
Mark Wang
Comment 5
2015-12-10 01:13:33 PST
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'
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug