diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-01-18 21:43:20 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-01-19 20:01:23 +0100 |
| commit | 1fe1e4d29207de8c972fcc1b61266fbaddb07d63 (patch) | |
| tree | 1f5b8756eab0056a2f6c3cdf05a7bdbfc977fc3b /src/codegen | |
| parent | 28acbdb02ff934fed3363a580128575e7d8c92ee (diff) | |
| download | zig-1fe1e4d29207de8c972fcc1b61266fbaddb07d63.tar.gz zig-1fe1e4d29207de8c972fcc1b61266fbaddb07d63.zip | |
wasm: Split funcgen and declgen
This allows us to get rid of unused fields when generating code for non-function decls.
We can now create seperate instances of `DeclGen` which in turn can then be used
to generate the code for a constant.
Besides those reasons, it will be much easier to switch to the generic purpose `codegen.zig` that any
backend should use. Allowing us to deduplicate this code.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
