Mention that places are sometimes called "lvalues"

This commit is contained in:
Camelid 2020-09-14 18:56:22 -07:00
parent 321bebfba1
commit bf5e1c451d
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ This section introduces the key concepts of MIR, summarized here:
leading underscore, like `_1`. There is also a special "local" leading underscore, like `_1`. There is also a special "local"
(`_0`) allocated to store the return value. (`_0`) allocated to store the return value.
- **Places:** expressions that identify a location in memory, like `_1` or - **Places:** expressions that identify a location in memory, like `_1` or
`_1.f`. `_1.f`. (Some people call these "lvalues"; the "l" meaning that they occur on
the left-hand side of an assignment.)
- **Rvalues:** expressions that produce a value. The "R" stands for - **Rvalues:** expressions that produce a value. The "R" stands for
the fact that these are the "right-hand side" of an assignment. the fact that these are the "right-hand side" of an assignment.
- **Operands:** the arguments to an rvalue, which can either be a - **Operands:** the arguments to an rvalue, which can either be a