REGRESSION(r274724): JITCage trampoline needs to be adjusted
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>
<rdar://problem/75871161>
<rdar://problem/76126947>
(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!