Commit 15689f34 authored by Adrien Guatto's avatar Adrien Guatto

Jalon 9: fix tests

parent 347dca14
globals ()
local i, a, b :
l00: i <- copy 0;
l01: a <- copy 25;
l01: ;; dead;
l02: b <- copy 1;
l03: jumpif lte i, a -> l04, l07;
l03: jumpif lte i, 25 -> l04, l07;
l04: i <- add i, 1;
l05: b <- mul b, i;
l06: jump l03;
......
globals ()
local i, a, b :
l00: i <- copy 0;
l01: a <- copy 25;
l01: ;; dead;
l02: b <- copy 1;
l03: jumpif lte i, a -> l04, l07;
l03: jumpif lte i, 25 -> l04, l07;
l04: i <- add i, 1;
l05: ;; dead;
l06: jump l01;
......
globals ()
local i, a, b :
l00: i <- copy 0;
l01: a <- copy 25;
l01: ;; dead;
l02: ;; dead;
l03: jumpif lte i, a -> l04, l08;
l03: jumpif lte i, 25 -> l04, l08;
l04: i <- add i, 1;
l05: ;; dead;
l06: ;; dead;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment