From a62c095bd2451a6c7341bcddd32c0073b9c78ac7 Mon Sep 17 00:00:00 2001 From: dibyendumajumdar Date: Sun, 17 Sep 2023 21:05:19 +0100 Subject: Revise description of Return node. --- chapter01/README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chapter01') 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 -- cgit v1.2.3