From a1b3e82dc9290b604151fed3682618bc09fca9cc Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Mon, 7 Sep 2015 22:11:43 -0400 Subject: turn test files in one function definition --- lisc/test/fix1.ssa | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lisc/test/fix1.ssa') diff --git a/lisc/test/fix1.ssa b/lisc/test/fix1.ssa index 61b6395..d0695c9 100644 --- a/lisc/test/fix1.ssa +++ b/lisc/test/fix1.ssa @@ -1,13 +1,15 @@ -@start +function $test { + @start %x =w copy 1 -@loop + @loop jnz %x, @noz, @isz -@noz + @noz %x =w copy 0 jmp @end -@isz + @isz %x =w copy 1 jmp @loop -@end + @end %z =w add 10, %x ret +} -- cgit 1.4.1