From 84a70fd744f83e2d701e15fc3d17109eb59ac707 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Tue, 26 Nov 2024 11:01:47 -0800 Subject: Chapter 18: Functions and Calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: Hsiang-Ying Fu <66062782+fuhsnn@users.noreply.github.com> Co-authored-by: tannal Co-authored-by: hadha Co-authored-by: fuhsnn <66062782+fuhsnn@users.noreply.github.com> Co-authored-by: Symious <14933944+symious@users.noreply.github.com> Co-authored-by: RobertObkircher Co-authored-by: Jun Kawasaki Co-authored-by: Claude Opus 5 --- docs/chapter18/inline-before.svg | 117 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 docs/chapter18/inline-before.svg (limited to 'docs/chapter18/inline-before.svg') diff --git a/docs/chapter18/inline-before.svg b/docs/chapter18/inline-before.svg new file mode 100644 index 00000000..8e15f6ea --- /dev/null +++ b/docs/chapter18/inline-before.svg @@ -0,0 +1,117 @@ +#4[2] → #1 · DATA#4[3] → #3 · DATA#5[2] → #4 · CTRL#7[1] → #6 · DATA#7[2] → #1 · DATA#8[1] → #7 · DATA#8[2] → #2 · DATA#9[2] → #8 · DATA#10[0] → #4 · CTRL#10[1] → #9 · DATA#12[2] → #11 · DATAParm_arg  #1int#1 Parm_arg +int + +[0] → — ASSOC +[1] → — DATA01Con  #21#2 Con +1 + +Con inc  #3{int -> int}#3 Con inc +{int -> int} + +Call  #4#4 Call +Type not computed + +[0] → — CTRL +[1] → — MEM +[2] → #1 DATA +[3] → #3 DATA0123inc  #5#5 inc +Type not computed + +[0] → — ASSOC +[1] → — CTRL +[2] → #4 CTRL012Con  #6int#6 Con +int + +Parm_x  #7int#7 Parm_x +int + +[0] → #5 ASSOC +[1] → #6 DATA +[2] → #1 DATA[0] → #5012Add  #8int#8 Add +int + +[0] → — CTRL +[1] → #7 DATA +[2] → #2 DATA012Return inc  #9#9 Return inc +Type not computed + +[0] → — CTRL +[1] → — MEM +[2] → #8 DATA +[3] → — DATA0123CallEnd  #10#10 CallEnd +Type not computed + +[0] → #4 CTRL +[1] → #9 DATA01result  #11/2int#11 result +Projection 2 of #10 +int + +[0] → #10 DATAReturn main  #12#12 Return main +Type not computed + +[0] → — CTRL +[1] → — MEM +[2] → #11 DATA +[3] → — DATA0123 -- cgit v1.2.3