Skip to content

Commit d794b4e

Browse files
committed
rename hir -> mir
The IR acts much more like a mid-level IR than a high level one, so let's rename it before it gets too hard to do so.
1 parent feacb0d commit d794b4e

11 files changed

+3
-814
lines changed

design.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ ld.bd is differant that just ld.bfd directly.
1414

1515
## organization
1616

17-
AST -> HIR -> backend -> text
17+
AST -> MIR -> backend -> text
1818

19-
The HIR looks a lot like Meson's state machine, but without being a state
19+
The MIR looks a lot like Meson's state machine, but without being a state
2020
machine, it instead loops over the IR, performing some optimizations (At
2121
least dead code elimination, and probably const+copy propegation and
2222
folding), and performing lowering passes to convert to the high level

src/hir/ast_to_hir.cpp

-198
This file was deleted.

src/hir/ast_to_hir.hpp

-14
This file was deleted.

0 commit comments

Comments
 (0)