Skip to content

Commit db8931c

Browse files
committed
Minor edits to README
1 parent a4f0021 commit db8931c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/rustc/README.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ High-level concepts
2020
Rustc consists of the following subdirectories:
2121

2222
front/ - front-end: attributes, conditional compilation
23-
middle/ - middle-end: resolving, typechecking, generating LLVM code
23+
middle/ - middle-end: name resolution, typechecking, LLVM code
24+
generation
2425
back/ - back-end: linking and ABI
2526
metadata/ - serializer and deserializer for data required by
2627
separate compilation
@@ -83,8 +84,8 @@ Control and information flow within the compiler:
8384
- Multiple middle-end passes (middle/resolve.rs, middle/typeck.rs)
8485
analyze the semantics of the resulting AST. Each pass generates new
8586
information about the AST and stores it in various environment data
86-
structures. The driver is in charge of passing the correct
87-
environments to each compiler pass that needs to refer to them.
87+
structures. The driver passes environments to each compiler pass
88+
that needs to refer to them.
8889

8990
- Finally middle/trans.rs translates the Rust AST to LLVM bitcode in a
9091
type-directed way. When it's finished synthesizing LLVM values,

0 commit comments

Comments
 (0)