diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-02-06 07:54:03 +0100 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2018-02-06 11:26:34 -0600 |
| commit | 89e5f5bd7b353030185c472d34a60e429d10a9c1 (patch) | |
| tree | 3c169c3f111f3eaaef2866de7e0b0490b2ea275d /src/doc/rustc-dev-guide | |
| parent | fd21533d7fefec1f15fbb2b16de75b5bed960670 (diff) | |
| download | rust-89e5f5bd7b353030185c472d34a60e429d10a9c1.tar.gz rust-89e5f5bd7b353030185c472d34a60e429d10a9c1.zip | |
Order alphabetically, improve explanation of DAG
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/glossary.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/glossary.md b/src/doc/rustc-dev-guide/src/glossary.md index de1390d530c..119e73255b2 100644 --- a/src/doc/rustc-dev-guide/src/glossary.md +++ b/src/doc/rustc-dev-guide/src/glossary.md @@ -6,9 +6,9 @@ The compiler uses a number of...idiosyncratic abbreviations and things. This glo Term | Meaning ------------------------|-------- AST | the abstract syntax tree produced by the syntax crate; reflects user syntax very closely. -DAG | a directed acyclic graph is used during compilation to index which queries execute which other queries. ([see more](incremental-compilation.html)) codegen unit | when we produce LLVM IR, we group the Rust code into a number of codegen units. Each of these units is processed by LLVM independently from one another, enabling parallelism. They are also the unit of incremental re-use. cx | we tend to use "cx" as an abbrevation for context. See also `tcx`, `infcx`, etc. +DAG | a directed acyclic graph is used during compilation to keep track of dependencies between queries. ([see more](incremental-compilation.html)) DefId | an index identifying a definition (see `librustc/hir/def_id.rs`). Uniquely identifies a `DefPath`. HIR | the High-level IR, created by lowering and desugaring the AST ([see more](hir.html)) HirId | identifies a particular node in the HIR by combining a def-id with an "intra-definition offset". |
