summaryrefslogtreecommitdiff
path: root/test/example
diff options
context:
space:
mode:
Diffstat (limited to 'test/example')
-rw-r--r--test/example/c-api-hello-world.txt1
-rw-r--r--test/example/c-api-kitchen-sink.txt9
-rw-r--r--test/example/c-api-kitchen-sink.txt.txt2
3 files changed, 0 insertions, 12 deletions
diff --git a/test/example/c-api-hello-world.txt b/test/example/c-api-hello-world.txt
index e61cf3761..624ba1571 100644
--- a/test/example/c-api-hello-world.txt
+++ b/test/example/c-api-hello-world.txt
@@ -1,6 +1,5 @@
(module
(type $iii (func (param i32 i32) (result i32)))
- (memory $0 0)
(func $adder (; 0 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
(i32.add
(get_local $0)
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index e7ace6676..0d0fcbe79 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -543,7 +543,6 @@ BinaryenTypeAuto: -1
(module
(type $i (func (result i32)))
(type $I (func (result i64)))
- (memory $0 0)
(func $unreachable-fn (; 0 ;) (type $i) (result i32)
(call_indirect (type $I)
(unreachable)
@@ -556,7 +555,6 @@ raw:
(type $vi (func (param i32)))
(type $i (func (result i32)))
(import "module" "check" (func $check (param i32)))
- (memory $0 0)
(func $just-one-block (; 1 ;) (type $v)
(local $0 i32)
(call $check
@@ -1039,12 +1037,10 @@ raw:
)
optimized:
(module
- (memory $0 0)
)
module loaded from binary form:
(module
(type $0 (func (param i32 i32) (result i32)))
- (memory $0 0)
(func $adder (; 0 ;) (type $0) (param $var$0 i32) (param $var$1 i32) (result i32)
(i32.add
(get_local $var$0)
@@ -1056,7 +1052,6 @@ module loaded from binary form:
(type $vi (func (param i32)))
(type $v (func))
(import "spectest" "print" (func $print-i32 (param i32)))
- (memory $0 0)
(start $starter)
(func $starter (; 1 ;) (type $v)
(call $print-i32
@@ -1067,7 +1062,6 @@ module loaded from binary form:
(i32.const 1234)
(module
(type $v (func))
- (memory $0 0)
(func $func (; 0 ;) (type $v)
(local $0 i32)
(set_local $0
@@ -1078,7 +1072,6 @@ module loaded from binary form:
validation: 0
(module
(type $i (func (result i32)))
- (memory $0 0)
(func $func (; 0 ;) (type $i) (result i32)
(i32.sub
(i32.const 1234)
@@ -2431,7 +2424,6 @@ raw:
(type $vi (func (param i32)))
(type $i (func (result i32)))
(import "module" "check" (func $check (param i32)))
- (memory $0 0)
(func $just-one-block (; 1 ;) (type $v)
(local $0 i32)
(call $check
@@ -2918,7 +2910,6 @@ raw:
optimized:
BinaryenModulePrint(the_module);
(module
- (memory $0 0)
)
BinaryenModuleDispose(the_module);
functionTypes.clear();
diff --git a/test/example/c-api-kitchen-sink.txt.txt b/test/example/c-api-kitchen-sink.txt.txt
index f7a454507..986c21bf6 100644
--- a/test/example/c-api-kitchen-sink.txt.txt
+++ b/test/example/c-api-kitchen-sink.txt.txt
@@ -538,7 +538,6 @@
(type $vi (func (param i32)))
(type $i (func (result i32)))
(import "module" "check" (func $check (param i32)))
- (memory $0 0)
(func $just-one-block (; 1 ;) (type $v)
(local $0 i32)
(call $check
@@ -1020,5 +1019,4 @@
)
)
(module
- (memory $0 0)
)