| Summary: | Host function isPureNaN is inlined into true in DFGByteCodeParser.cpp handleIntrinsicCall. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | EntryHi <entryhii> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | mark.lam, webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Pull request: https://github.com/WebKit/WebKit/pull/25053 |
===================test.js================== for (let v0 = 0; v0 < 100; v0++) { const v2 = this.isPureNaN(v0); print(v2) } ============================================ Run args: ./jsc -f test.js --useConcurrentJIT=0 --jitPolicyScale=0.01 JSC prints `true` in DFG. The correct result should be `false`.