summaryrefslogtreecommitdiff
path: root/test/reduce
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-11-30 12:08:59 -0800
committerGitHub <noreply@github.com>2022-11-30 12:08:59 -0800
commit4f6cb8e54aa073f15f7ce622ea25905283683d5f (patch)
tree2c5510724a69c8cb6eecce4f2b4a583189f5ec5c /test/reduce
parent757c4689f5d75d4f29de442ae1db10dc143954f6 (diff)
downloadbinaryen-4f6cb8e54aa073f15f7ce622ea25905283683d5f.tar.gz
binaryen-4f6cb8e54aa073f15f7ce622ea25905283683d5f.tar.bz2
binaryen-4f6cb8e54aa073f15f7ce622ea25905283683d5f.zip
[NFC] Avoid unneeded work in GTO (#5304)
As noticed in #5303, the test changes here are because we did unnecessary work which created a new rec group, which then led to a rec group being printed out.
Diffstat (limited to 'test/reduce')
-rw-r--r--test/reduce/imports.wast.txt5
-rw-r--r--test/reduce/memory_table.wast.txt6
-rw-r--r--test/reduce/simple.wast.txt5
3 files changed, 4 insertions, 12 deletions
diff --git a/test/reduce/imports.wast.txt b/test/reduce/imports.wast.txt
index 143240b49..1c2a8c63f 100644
--- a/test/reduce/imports.wast.txt
+++ b/test/reduce/imports.wast.txt
@@ -1,8 +1,5 @@
(module
- (rec
- (type $none_=>_none (func))
- (type $none_=>_i32 (func (result i32)))
- )
+ (type $none_=>_i32 (func (result i32)))
(export "x" (func $0))
(func $0 (result i32)
(i32.const 5678)
diff --git a/test/reduce/memory_table.wast.txt b/test/reduce/memory_table.wast.txt
index 9da5e8739..fe9e82072 100644
--- a/test/reduce/memory_table.wast.txt
+++ b/test/reduce/memory_table.wast.txt
@@ -1,8 +1,6 @@
(module
- (rec
- (type $none_=>_i32 (func (result i32)))
- (type $none_=>_none (func))
- )
+ (type $none_=>_i32 (func (result i32)))
+ (type $none_=>_none (func))
(memory $0 256 256)
(export "f1" (func $0))
(export "f2" (func $1))
diff --git a/test/reduce/simple.wast.txt b/test/reduce/simple.wast.txt
index e621ce52a..1c2a8c63f 100644
--- a/test/reduce/simple.wast.txt
+++ b/test/reduce/simple.wast.txt
@@ -1,8 +1,5 @@
(module
- (rec
- (type $none_=>_i32 (func (result i32)))
- (type $none_=>_none (func))
- )
+ (type $none_=>_i32 (func (result i32)))
(export "x" (func $0))
(func $0 (result i32)
(i32.const 5678)