[Webkit-unassigned] [Bug 263647] New: Function.caller returns null when callee is inlined into apply function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 25 04:37:18 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=263647
Bug ID: 263647
Summary: Function.caller returns null when callee is inlined
into apply function
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: entryhii at gmail.com
==================test.js=====================
function f0(a1, a2) {
let v5 = f0.caller
print(v5)
}
function f9(a13) {
Reflect.apply(f0, undefined, [a13, a13, Reflect]);
}
for (let v17 = 0; v17 < 100; v17++) {
f9();
}
==============================================
Run args: ./jsc -f test.js --useConcurrentJIT=0 --jitPolicyScale=0.001
f0.caller should be like the following:
`````
function f9(a13) {
Reflect.apply(f0, undefined, [a13, a13, Reflect]);
}
`````
but JSC returns null in the latest version.
--
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/20231025/3156584a/attachment.htm>
More information about the webkit-unassigned
mailing list