diff options
author | Ben Smith <binjimin@gmail.com> | 2018-10-15 13:57:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-15 13:57:26 -0700 |
commit | b234c76e30b49f75ddcd095c5f1e7d9d27d82160 (patch) | |
tree | 63b72e00f03d8637657de0fa51af0557a748f1f6 /test/roundtrip/generate-func-names.txt | |
parent | 8292bd817c873a77d2a0a14dbbd9892b4e9c7860 (diff) | |
download | wabt-b234c76e30b49f75ddcd095c5f1e7d9d27d82160.tar.gz wabt-b234c76e30b49f75ddcd095c5f1e7d9d27d82160.tar.bz2 wabt-b234c76e30b49f75ddcd095c5f1e7d9d27d82160.zip |
Add more bulk memory tests; use vars for segments (#930)
* Allow for names in data/elem segments:
```
(data $foo (i32.const 0) "abcdef")
```
* These names can be referenced by the memory/table instructions that
operate on segments:
```
memory.drop $foo
```
* Fix running wasm-objdump with bulk-memory instructions
* Check for valid data/elem segments in validation
* Check that bulk-memory is enabled when parsing text
Partial fix for #928; still needs interpreter checks too.
Diffstat (limited to 'test/roundtrip/generate-func-names.txt')
-rw-r--r-- | test/roundtrip/generate-func-names.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/roundtrip/generate-func-names.txt b/test/roundtrip/generate-func-names.txt index 342fee55..069c1664 100644 --- a/test/roundtrip/generate-func-names.txt +++ b/test/roundtrip/generate-func-names.txt @@ -18,5 +18,5 @@ (table $T0 3 3 anyfunc) (export "zero" (func $zero)) (export "one" (func $one)) - (elem (i32.const 0) $zero $one $zero)) + (elem $e0 (i32.const 0) $zero $one $zero)) ;;; STDOUT ;;) |