BytecodeStructs.h is quite large, even after https://bugs.webkit.org/show_bug.cgi?id=206563 (roughly 40k lines). It is currently inlined in CommonSlowPaths.h just for 2 functions, which are only used in 2 cpp files. Not only is CommonSlowPaths.h directly included in many places, but it it is also included in JIT.h, which is included by something like half of JSC. By only including BytecodeStructs.h in a more specialized CommonSlowPathsInlines.h I hope to improve compile times.
Created attachment 388390 [details] WIP I only have to actually measure the compile times for the Changelog, this patch is otherwise ready.
Created attachment 388570 [details] Patch The compile time improvement is sadly too small to measure in the noise, but I still think it is worth landing as it is a fairly trivial patch. I've also fixed the patch, as the new file was added in the wrong directory, and two forward declarations are no longer needed.
Created attachment 388591 [details] Patch Fixing style nits.
Comment on attachment 388591 [details] Patch r=me
Comment on attachment 388591 [details] Patch Clearing flags on attachment: 388591 Committed r255040: <https://trac.webkit.org/changeset/255040>
All reviewed patches have been landed. Closing bug.
<rdar://problem/58851022>