Skip to content

Commit

Permalink
Remove duplicate MIR chapter entry
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Aug 19, 2020
1 parent 75aa32f commit ff0e9a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@
# MIR to Binaries

- [Prologue](./part-5-intro.md)
- [The MIR (Mid-level IR)](./mir/index.md)
- [MIR optimizations](./mir/optimizations.md)
- [Debugging](./mir/debugging.md)
- [Constant evaluation](./const-eval.md)
Expand Down
6 changes: 4 additions & 2 deletions src/part-5-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ generated any executable machine code at all! With this chapter, all of that
changes.

So far, we've shown how the compiler can take raw source code in text format
and transform it into MIR. We have also shown how the compiler does various
and transform it into [MIR]. We have also shown how the compiler does various
analyses on the code to detect things like type or lifetime errors. Now, we
will finally take the MIR and produce some executable machine code.

[MIR]: ./mir/index.html

> NOTE: This part of a compiler is often called the _backend_ the term is a bit
> overloaded because in the compiler source, it usually refers to the "codegen
> backend" (i.e. LLVM or Cranelift). Usually, when you see the word "backend"
> in this part, we are refering to the "codegen backend".
> in this part, we are referring to the "codegen backend".
So what do we need to do?

Expand Down

0 comments on commit ff0e9a3

Please sign in to comment.