6 Jun
2023
6 Jun
'23
4:49 p.m.
On Tue Jun 6 15:38:45 2023 +0000, Jacek Caban wrote:
I'm not sure that an improvement (and at very least could be a separated patch). Note that we expect vast majority of arguments objects to never need this buffer. Oh, I did it that way because it was simpler, since I always allocated the buffer in `setup_arguments_object` unconditionally. That's because it's used a lot more with this patch (for all argument lookups that aren't on the stack). Before, it was used only when the frame was detached.
Should I try to allocate it on demand? Note that detaching the variable obj will make use of it now (so it will allocate it). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2942#note_34809