[Webkit-unassigned] [Bug 238928] [JSC] Reduce Baseline JIT code size in debug builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 11 02:56:17 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238928

--- Comment #5 from Geza Lore <glore at igalia.com> ---
(In reply to Yusuke Suzuki from comment #3)
> Comment on attachment 456940 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=456940&action=review
> 
> > Source/JavaScriptCore/jit/JIT.cpp:682
> > +#if CPU(X86_64)
> > +    jit.subPtr(TrustedImm32(sizeof(void*)), expectedStackPointerGPR); // Call instruction pushed to stack
> > +#endif
> 
> You can use prologueStackPointerDelta() and sizeof(CallerFrameAndPC) to
> compute it for all architectures.

Neat, thanks. r?

-- 
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/20220411/a859f93d/attachment-0001.htm>


More information about the webkit-unassigned mailing list