[Webkit-unassigned] [Bug 239757] New: Wrong JIT compilation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 25 22:46:43 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=239757
Bug ID: 239757
Summary: Wrong JIT compilation
Product: WebKit
Version: WebKit Local Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zhunkibatu at gmail.com
Created attachment 458332
--> https://bugs.webkit.org/attachment.cgi?id=458332&action=review
the minimal poc
The following PoC outputs differently before/after JIT compilation.
function opt() {
const a = [12345678901];
const b = a[12345];
const c = () => {
try {
throw "";
} catch(e) {
({});
}
};
const d = c();
return b;
}
print(opt());//undefined
for(var i=0;i<10000;i++){
opt();
}
print(opt());//NaN
--
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/20220426/0e651471/attachment-0001.htm>
More information about the webkit-unassigned
mailing list