| Summary: | REGRESSION(r274724): JITCage trampoline needs to be adjusted | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||
| Component: | New Bugs | Assignee: | Yusuke Suzuki <ysuzuki> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ews-watchlist, keith_miller, mark.lam, msaboff, saam, sam, tzagallo, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=223413 | ||||||||
| Attachments: |
|
||||||||
|
Description
Yusuke Suzuki
2021-04-01 12:17:58 PDT
Created attachment 424928 [details]
Patch
Created attachment 424943 [details]
Patch
Sorry about that. Is there anything you can think to do so that we can do to make this a compile time error in the future? Somehow statically asserting that vmEntryCustomGetter/vmEntryCustomSetter match GetValueFuncWithPtr/PutValueFuncWithPtr? (In reply to Sam Weinig from comment #3) > Sorry about that. > > Is there anything you can think to do so that we can do to make this a > compile time error in the future? Somehow statically asserting that > vmEntryCustomGetter/vmEntryCustomSetter match > GetValueFuncWithPtr/PutValueFuncWithPtr? That sounds good! I'll add `static_assert` which checks # of parameter matches with PutValueFuncWithPtr etc. as a first step :) Committed r275392 (236056@main): <https://commits.webkit.org/236056@main> (In reply to Yusuke Suzuki from comment #4) > (In reply to Sam Weinig from comment #3) > > Sorry about that. > > > > Is there anything you can think to do so that we can do to make this a > > compile time error in the future? Somehow statically asserting that > > vmEntryCustomGetter/vmEntryCustomSetter match > > GetValueFuncWithPtr/PutValueFuncWithPtr? > > That sounds good! I'll add `static_assert` which checks # of parameter > matches with PutValueFuncWithPtr etc. as a first step :) Very nice! Thanks! |