diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-07 22:11:43 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:33 -0400 |
commit | a1b3e82dc9290b604151fed3682618bc09fca9cc (patch) | |
tree | 999ee363a73790a983dc51e1f5f5299178456b19 /lisc/test/live.ssa | |
parent | 87ab8941edb69a84979068fe74718f8a12b43262 (diff) | |
download | roux-a1b3e82dc9290b604151fed3682618bc09fca9cc.tar.gz |
turn test files in one function definition
Diffstat (limited to 'lisc/test/live.ssa')
-rw-r--r-- | lisc/test/live.ssa | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lisc/test/live.ssa b/lisc/test/live.ssa index 8513fc4..03e95e8 100644 --- a/lisc/test/live.ssa +++ b/lisc/test/live.ssa @@ -5,15 +5,17 @@ # # nothing should ever be live at the entry -@start +function $test { + @start %b =w copy 0 %x =w copy 10 jnz 0, @loop, @left -@left + @left jmp @inloop -@loop + @loop %x1 =w add %x, 1 -@inloop + @inloop %b1 =w add %b, 1 -@endloop + @endloop jmp @loop +} |