Don't relax function calls

This commit is contained in:
2024-04-12 00:07:46 +02:00
parent 159a3a4f38
commit 9c7614dd25
10 changed files with 55 additions and 16 deletions

View File

@ -1 +1,2 @@
8
9

View File

@ -0,0 +1 @@
5

View File

@ -0,0 +1,5 @@
1
2
3
4
5

View File

@ -5,5 +5,7 @@ begin
writei(5);
writei(5);
writei(5)
end
end;
if 1 < 2 then writei(9);
if 1 > 2 then writei(10)
end.

View File

@ -0,0 +1,6 @@
var a: Int, b: ^Int;
begin
a := 5;
b := @a;
writei(b^)
end.

10
tests/print_in_loop.eln Normal file
View File

@ -0,0 +1,10 @@
var i: Int;
begin
i := 1;
while i <= 6 do
begin
writei(i);
i := i + 1
end;
end.