mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-27 06:43:19 +08:00
The emitter writes interface dispatch tables one element per line. The helper's text partitioner accepted only single-line globals, so any program with such a table (every partitioned program with class interfaces) fell back to parsing the whole module before splitting it with LLVM. The text partitioner now reads a global whose aggregate initializer opens at the end of its line and closes on a line that holds only the closing bracket. Those programs now parse their partitions concurrently and keep the text partitioner's placement, so an edit to one function changes only that function's partition again.