diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/print/min.minified.txt | 55 | ||||
-rw-r--r-- | test/print/min.txt | 54 | ||||
-rw-r--r-- | test/print/min.wast (renamed from test/print/min.minified.wast) | 0 |
3 files changed, 55 insertions, 54 deletions
diff --git a/test/print/min.minified.txt b/test/print/min.minified.txt index b66f98c30..5ecab5959 100644 --- a/test/print/min.minified.txt +++ b/test/print/min.minified.txt @@ -1,54 +1 @@ -(module - (memory 16777216 16777216) - (export "floats" $floats) - (func $floats (param $f f32) (result f32) - (local $t f32) - (f32.add - (get_local $t) - (get_local $f) - ) - ) - (func $neg (param $k i32) (param $p i32) - (local $n f32) - (set_local $n - (f32.neg - (block $block0 - (i32.store - (get_local $k) - (get_local $p) - ) - (f32.load - (get_local $k) - ) - ) - ) - ) - ) - (func $littleswitch (param $x i32) (result i32) - (block $topmost - (tableswitch $switch$0 - (i32.sub - (get_local $x) - (i32.const 1) - ) - (table (case $switch-case$1) (case $switch-case$2)) (case $switch-case$1) - (case $switch-case$1 - (br $topmost - (i32.const 1) - ) - ) - (case $switch-case$2 - (br $topmost - (i32.const 2) - ) - ) - ) - (i32.const 0) - ) - ) - (func $f1 (param $i1 i32) (param $i2 i32) (param $i3 i32) (result i32) - (block $topmost - (get_local $i3) - ) - ) -) +(module(memory 16777216 16777216)(export "floats" $floats)(func $floats(param $f f32)(result f32)(local $t f32)(f32.add(get_local $t)(get_local $f)))(func $neg(param $k i32)(param $p i32)(local $n f32)(set_local $n(f32.neg(block $block0(i32.store(get_local $k)(get_local $p))(f32.load(get_local $k))))))(func $littleswitch(param $x i32)(result i32)(block $topmost(tableswitch $switch$0(i32.sub(get_local $x)(i32.const 1))(table(case $switch-case$1)(case $switch-case$2)) (case $switch-case$1)(case $switch-case$1(br $topmost(i32.const 1)))(case $switch-case$2(br $topmost(i32.const 2))))(i32.const 0)))(func $f1(param $i1 i32)(param $i2 i32)(param $i3 i32)(result i32)(block $topmost(get_local $i3))))
\ No newline at end of file diff --git a/test/print/min.txt b/test/print/min.txt new file mode 100644 index 000000000..b66f98c30 --- /dev/null +++ b/test/print/min.txt @@ -0,0 +1,54 @@ +(module + (memory 16777216 16777216) + (export "floats" $floats) + (func $floats (param $f f32) (result f32) + (local $t f32) + (f32.add + (get_local $t) + (get_local $f) + ) + ) + (func $neg (param $k i32) (param $p i32) + (local $n f32) + (set_local $n + (f32.neg + (block $block0 + (i32.store + (get_local $k) + (get_local $p) + ) + (f32.load + (get_local $k) + ) + ) + ) + ) + ) + (func $littleswitch (param $x i32) (result i32) + (block $topmost + (tableswitch $switch$0 + (i32.sub + (get_local $x) + (i32.const 1) + ) + (table (case $switch-case$1) (case $switch-case$2)) (case $switch-case$1) + (case $switch-case$1 + (br $topmost + (i32.const 1) + ) + ) + (case $switch-case$2 + (br $topmost + (i32.const 2) + ) + ) + ) + (i32.const 0) + ) + ) + (func $f1 (param $i1 i32) (param $i2 i32) (param $i3 i32) (result i32) + (block $topmost + (get_local $i3) + ) + ) +) diff --git a/test/print/min.minified.wast b/test/print/min.wast index 35ea01ace..35ea01ace 100644 --- a/test/print/min.minified.wast +++ b/test/print/min.wast |