[JSC] Introduce JSC_DECLARE_HOST_FUNCTION / JSC_DEFINE_HOST_FUNCTION to make host function definition easy-to-scanned for JIT-caging
Created attachment 409666 [details] Patch
Created attachment 409667 [details] Patch
Created attachment 409668 [details] Patch
Comment on attachment 409668 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409668&action=review > Source/WTF/wtf/PlatformCallingConventions.h:49 > +#define JSC_ANNOTATE_HOST_FUNCTION(functionId, function) This will do something in the future?
(In reply to Saam Barati from comment #4) > Comment on attachment 409668 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=409668&action=review > > > Source/WTF/wtf/PlatformCallingConventions.h:49 > > +#define JSC_ANNOTATE_HOST_FUNCTION(functionId, function) > > This will do something in the future? Yes
Created attachment 409719 [details] Patch
stress/put-private-name-invalid-define.js.ftl-eager is flaky before this patch. Landing this now.
Committed r267594: <https://trac.webkit.org/changeset/267594>
<rdar://problem/69594503>
Comment on attachment 409719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409719&action=review > Source/JavaScriptCore/ChangeLog:199 It would be nice to tweak ChangeLog generation tool so the host function names are displayed correctly.