Pretty function, call, phi

This commit is contained in:
Francesco Gazzetta
2022-07-03 10:25:48 +02:00
parent 24e3d4ad06
commit 8e85d1b000
5 changed files with 145 additions and 7 deletions

1
golden/call.qbe Normal file
View File

@@ -0,0 +1 @@
%r =w call $f (env 1, w 2, :t %a, ..., w 3, :t1 %b)

5
golden/function.qbe Normal file
View File

@@ -0,0 +1,5 @@
export
function :t $f
(env %env, w %a, d %b, ...)
{@l
ret }

1
golden/phi.qbe Normal file
View File

@@ -0,0 +1 @@
%a =w phi @b 1, @c 2