diff options
| author | dibyendumajumdar <mobile@majumdar.org.uk> | 2023-09-17 21:05:19 +0100 |
|---|---|---|
| committer | dibyendumajumdar <mobile@majumdar.org.uk> | 2023-09-17 21:05:19 +0100 |
| commit | a62c095bd2451a6c7341bcddd32c0073b9c78ac7 (patch) | |
| tree | ec278aa0dfb0531c4dbd2164b756f13b47164625 | |
| parent | 7ec5a9425c7585a67dc834cfb762470e86695b41 (diff) | |
| download | Simple-a62c095bd2451a6c7341bcddd32c0073b9c78ac7.tar.gz Simple-a62c095bd2451a6c7341bcddd32c0073b9c78ac7.zip | |
Revise description of Return node.
| -rw-r--r-- | chapter01/README.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chapter01/README.md b/chapter01/README.md index 679a5d5e..e5b79493 100644 --- a/chapter01/README.md +++ b/chapter01/README.md @@ -95,6 +95,9 @@ The Constant node's output is the value stored in it. The Return node has two inputs. The first input is a control node. The second input is the data node that supplies the return value. +In this presentation, the Return node functions as the Stop node, since we are compiling a single unnamed function. +A separate Stop node is not necessary. Compiling multiple functions is covered in Chapter 9: Functions and Calls. + The output of the Return node is the value it obtained from the data node. ### Representation |
