[Webkit-unassigned] [Bug 233353] New: [JSC] Optimize Promise Error in DFG
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 18 23:13:28 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233353
Bug ID: 233353
Summary: [JSC] Optimize Promise Error in DFG
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: vulbugs at gmail.com
OS: ubuntu20.04
Architecture: <x64>
./jsc --useConcurrentJIT=false --thresholdForOptimizeAfterWarmUp=50 bug.js
expected output
undefined
undefined
actual output
undefined
NaN
bug.js
##################################
function opt() {
const v1 = [Infinity];
const v2 = v1[4096];
new Promise(Promise);
return v2;
}
print(opt());
for (let i = 0; i < 0x1000; i++) { opt(); }
print(opt());
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211119/a953100c/attachment.htm>
More information about the webkit-unassigned
mailing list