Remove duplicate MIR chapter entry (#830)

This commit is contained in:
Yuki Okushi 2020-08-19 20:46:02 +09:00 committed by GitHub
parent 776e14a3f0
commit 908d4ff483
2 changed files with 6 additions and 5 deletions

View File

@ -129,7 +129,6 @@
# MIR to Binaries # MIR to Binaries
- [Prologue](./part-5-intro.md) - [Prologue](./part-5-intro.md)
- [The MIR (Mid-level IR)](./mir/index.md)
- [MIR optimizations](./mir/optimizations.md) - [MIR optimizations](./mir/optimizations.md)
- [Debugging](./mir/debugging.md) - [Debugging](./mir/debugging.md)
- [Constant evaluation](./const-eval.md) - [Constant evaluation](./const-eval.md)

View File

@ -5,14 +5,16 @@ generated any executable machine code at all! With this chapter, all of that
changes. changes.
So far, we've shown how the compiler can take raw source code in text format 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 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. 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 > 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 > 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" > 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? So what do we need to do?