Skip to content

Commit

Permalink
Remove duplicate MIR chapter entry (rust-lang#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Aug 19, 2020
1 parent 75aa32f commit 76d7b6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/SUMMARY.md
Expand Up @@ -129,9 +129,8 @@
# 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)
- [MIR optimizations](./mir/optimizations.md)
- [Debugging](./mir/debugging.md)
- [Constant evaluation](./const-eval.md)
- [miri const evaluator](./miri.md)
- [Monomorphization](./backend/monomorph.md)
Expand Down
6 changes: 4 additions & 2 deletions src/part-5-intro.md
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 76d7b6a

Please sign in to comment.