mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
IR: re-organize where state goes to prepare for generics
* Rip out legacy code for generics
* put scope in instruction instead of AST nodes
* separate top level decl stuff from AST nodes
- remove the assumption that there is a 1:1 correspondence
between an output instruction and an AST node
- This way we won't have to clone AST nodes for generics.
This commit is contained in:
parent
f6cbb73c74
commit
2f259b8176
10 changed files with 1495 additions and 1886 deletions
286
src/codegen.cpp
286
src/codegen.cpp
Loading…
Add table
Add a link
Reference in a new issue