Skip to content

Commit c758b59

Browse files
camelidJoshua Nelson
authored and
Joshua Nelson
committed
Mention that places are sometimes called "lvalues"
1 parent deb6710 commit c758b59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mir/index.md

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

0 commit comments

Comments
 (0)