Code generation should not use the pretty-printer, part 2
Ticket #21853 (closed) has shown that we should not use SDoc
for code generation.
This was done in !9157 (merged) for modules in CmmToAsm
. It remains to do a similar change for:
-
LLVM -
CmmToC -
(CStubs) -
(WebAssembly, though it already uses a Builder
structure) -
JS
If completed, we might be able to remove the special LeftMode
for SDoc
.
Edited by Krzysztof Gogolewski