summaryrefslogtreecommitdiff
path: root/test/merge/fusing.wast.combined
diff options
context:
space:
mode:
Diffstat (limited to 'test/merge/fusing.wast.combined')
-rw-r--r--test/merge/fusing.wast.combined20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/merge/fusing.wast.combined b/test/merge/fusing.wast.combined
index d3d0bbed3..9510bb02e 100644
--- a/test/merge/fusing.wast.combined
+++ b/test/merge/fusing.wast.combined
@@ -1,35 +1,35 @@
(module
(type $FUNCSIG$v (func))
(type $FUNCSIG$v$0 (func))
- (import "env" "memoryBase" (global $memoryBase i32))
- (import "env" "tableBase" (global $tableBase i32))
(import "env" "memory" (memory $0 256))
+ (data (get_global $memoryBase) "")
(import "env" "table" (table 0 anyfunc))
+ (import "env" "memoryBase" (global $memoryBase i32))
+ (import "env" "tableBase" (global $tableBase i32))
(import "env" "memoryBase" (global $memoryBase$0 i32))
(import "env" "tableBase" (global $tableBase$0 i32))
(global $a-global i32 (i32.const 0))
- (global $b-global f64 (f64.const 2.14281428))
- (data (get_global $memoryBase) "")
+ (global $b-global$0 f64 (f64.const 2.14281428))
(export "foo" (func $foo-func))
(export "aglobal" (global $a-global))
- (export "bar" (func $bar-func))
- (export "bglobal" (global $b-global))
+ (export "bar" (func $bar-func$0))
+ (export "bglobal" (global $b-global$0))
(func $foo-func (; 0 ;) (type $FUNCSIG$v)
(drop
(i32.const 1337)
)
- (call $bar-func)
+ (call $bar-func$0)
(drop
(get_global $a-global)
)
(drop
- (get_global $b-global)
+ (get_global $b-global$0)
)
)
(func $b (; 1 ;) (type $FUNCSIG$v$0)
(call $foo-func)
)
- (func $bar-func (; 2 ;) (type $FUNCSIG$v$0)
+ (func $bar-func$0 (; 2 ;) (type $FUNCSIG$v$0)
(drop
(f64.const 3.14159)
)
@@ -37,7 +37,7 @@
(get_global $a-global)
)
(drop
- (get_global $b-global)
+ (get_global $b-global$0)
)
)
)