summaryrefslogtreecommitdiff
path: root/test/print
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-03-04 16:26:51 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-03-07 13:19:50 -0800
commit7ffdc335c7c899c282cb3d8216773dca1c26455b (patch)
tree98974c9ecaa752bf687802c889238a77c101c0d2 /test/print
parentb65a994c24e83694f27cb835845b3b281207fc2f (diff)
downloadbinaryen-7ffdc335c7c899c282cb3d8216773dca1c26455b.tar.gz
binaryen-7ffdc335c7c899c282cb3d8216773dca1c26455b.tar.bz2
binaryen-7ffdc335c7c899c282cb3d8216773dca1c26455b.zip
fix min.wast testcase
Diffstat (limited to 'test/print')
-rw-r--r--test/print/min.minified.txt2
-rw-r--r--test/print/min.txt2
-rw-r--r--test/print/min.wast2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/print/min.minified.txt b/test/print/min.minified.txt
index 5ecab5959..e38662bb1 100644
--- a/test/print/min.minified.txt
+++ b/test/print/min.minified.txt
@@ -1 +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)))) \ No newline at end of file
+(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)(result f32)(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.txt b/test/print/min.txt
index b66f98c30..890d3156f 100644
--- a/test/print/min.txt
+++ b/test/print/min.txt
@@ -8,7 +8,7 @@
(get_local $f)
)
)
- (func $neg (param $k i32) (param $p i32)
+ (func $neg (param $k i32) (param $p i32) (result f32)
(local $n f32)
(set_local $n
(f32.neg
diff --git a/test/print/min.wast b/test/print/min.wast
index 35ea01ace..e38662bb1 100644
--- a/test/print/min.wast
+++ b/test/print/min.wast
@@ -1 +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)(result f32)(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))))