summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/c-api-kitchen-sink.txt')
-rw-r--r--test/example/c-api-kitchen-sink.txt91
1 files changed, 5 insertions, 86 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index fe784a453..e10c3b47b 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -13,9 +13,6 @@ BinaryenTypeI31ref: (ptr)
BinaryenTypeStructref: (ptr)
BinaryenTypeArrayref: (ptr)
BinaryenTypeStringref: (ptr)
-BinaryenTypeStringviewWTF8: (ptr)
-BinaryenTypeStringviewWTF16: (ptr)
-BinaryenTypeStringviewIter: (ptr)
BinaryenTypeNullref: (ptr)
BinaryenTypeNullExternref: (ptr)
BinaryenTypeNullFuncref: (ptr)
@@ -31,12 +28,9 @@ BinaryenHeapTypeI31: 5
BinaryenHeapTypeStruct: 6
BinaryenHeapTypeArray: 7
BinaryenHeapTypeString: 9
-BinaryenHeapTypeStringviewWTF8: 10
-BinaryenHeapTypeStringviewWTF16: 11
-BinaryenHeapTypeStringviewIter: 12
-BinaryenHeapTypeNone: 13
-BinaryenHeapTypeNoext: 14
-BinaryenHeapTypeNofunc: 15
+BinaryenHeapTypeNone: 10
+BinaryenHeapTypeNoext: 11
+BinaryenHeapTypeNofunc: 12
BinaryenFeatureMVP: 0
BinaryenFeatureAtomics: 1
BinaryenFeatureBulkMemory: 16
@@ -2436,13 +2430,6 @@ BinaryenFeatureAll: 131071
)
)
(drop
- (stringview_wtf16.length
- (string.as_wtf16
- (global.get $string-global)
- )
- )
- )
- (drop
(string.encode_utf8
(global.get $string-global)
(i32.const 0)
@@ -2513,83 +2500,15 @@ BinaryenFeatureAll: 131071
)
)
(drop
- (string.as_wtf8
- (global.get $string-global)
- )
- )
- (drop
- (string.as_wtf16
- (global.get $string-global)
- )
- )
- (drop
- (string.as_iter
- (global.get $string-global)
- )
- )
- (drop
- (stringview_wtf8.advance
- (string.as_wtf8
- (global.get $string-global)
- )
- (i32.const 0)
- (i32.const 0)
- )
- )
- (drop
(stringview_wtf16.get_codeunit
- (string.as_wtf16
- (global.get $string-global)
- )
- (i32.const 0)
- )
- )
- (drop
- (stringview_iter.next
- (string.as_iter
- (global.get $string-global)
- )
- )
- )
- (drop
- (stringview_iter.advance
- (string.as_iter
- (global.get $string-global)
- )
- (i32.const 1)
- )
- )
- (drop
- (stringview_iter.rewind
- (string.as_iter
- (global.get $string-global)
- )
- (i32.const 1)
- )
- )
- (drop
- (stringview_wtf8.slice
- (string.as_wtf8
- (global.get $string-global)
- )
- (i32.const 0)
+ (global.get $string-global)
(i32.const 0)
)
)
(drop
(stringview_wtf16.slice
- (string.as_wtf16
- (global.get $string-global)
- )
- (i32.const 0)
+ (global.get $string-global)
(i32.const 0)
- )
- )
- (drop
- (stringview_iter.slice
- (string.as_iter
- (global.get $string-global)
- )
(i32.const 0)
)
)