File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: a4f0021f897630f8e12ef59b83d1859b9031c224
5
+ refs/heads/try: db8931c87684993014043592301d4eecc964307d
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ High-level concepts
20
20
Rustc consists of the following subdirectories:
21
21
22
22
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
24
25
back/ - back-end: linking and ABI
25
26
metadata/ - serializer and deserializer for data required by
26
27
separate compilation
@@ -83,8 +84,8 @@ Control and information flow within the compiler:
83
84
- Multiple middle-end passes (middle/resolve.rs, middle/typeck.rs)
84
85
analyze the semantics of the resulting AST. Each pass generates new
85
86
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.
88
89
89
90
- Finally middle/trans.rs translates the Rust AST to LLVM bitcode in a
90
91
type-directed way. When it's finished synthesizing LLVM values,
You can’t perform that action at this time.
0 commit comments