-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WASM] Separates the responsibilities for producing outputs and synth…
…esizing .wat code. Formerly `WasmOutputGenerator` would sinthezise the top level .wat code and produce all the files in a wasm transpilation. This cl renames `WasmOutputGenerator` into `WasmOutputGenerationStage` whose responsibility is only to produce the output files and control how the output is produced; and introduces `WasmConstructsGenerator` whose responsibility is to produce .wat constructs for AST and runtime needs. `WasmOutputGenerationStage` is also responsible for the use and lifetime of the SourceBuilder objects. PiperOrigin-RevId: 583516872
- Loading branch information
1 parent
89bbe4a
commit 2ccb84b
Showing
5 changed files
with
289 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.