Bug 202299

Summary: [JSC] DFG recursive-tail-call optimization should not emit jump to call-frame with varargs
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch saam: review+

Yusuke Suzuki
Reported 2019-09-26 20:39:43 PDT
[JSC] DFG recursive-tail-call optimization should not emit jump to call-frame with varargs
Attachments
Patch (6.29 KB, patch)
2019-09-26 20:57 PDT, Yusuke Suzuki
no flags
Patch (7.32 KB, patch)
2019-09-26 20:59 PDT, Yusuke Suzuki
saam: review+
Yusuke Suzuki
Comment 1 2019-09-26 20:57:58 PDT
Yusuke Suzuki
Comment 2 2019-09-26 20:59:00 PDT
Yusuke Suzuki
Comment 3 2019-09-26 20:59:38 PDT
Saam Barati
Comment 4 2019-09-26 23:57:45 PDT
Comment on attachment 379710 [details] Patch Nice. r=me
Saam Barati
Comment 5 2019-09-27 00:03:11 PDT
Can you open a bug to reinvestigate this in the future? I think requirements would be: - static argument count needs to be stored into stack - static argument count >= minimum - the arguments numbered >= minimum can’t use SetLocal, but need to use something like WriteStack which is not modeled by SSA lowering
Yusuke Suzuki
Comment 6 2019-09-27 09:57:03 PDT
Yusuke Suzuki
Comment 7 2019-09-27 10:58:24 PDT
(In reply to Saam Barati from comment #5) > Can you open a bug to reinvestigate this in the future? I think requirements > would be: > - static argument count needs to be stored into stack > - static argument count >= minimum > - the arguments numbered >= minimum can’t use SetLocal, but need to use > something like WriteStack which is not modeled by SSA lowering Yeah! I added FIXME comment with URL :)
Note You need to log in before you can comment on or make changes to this bug.