diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-09-28 17:38:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-28 17:38:44 -0700 |
commit | 2234cc7374797d188761916f6b1e82ce9ade1fa3 (patch) | |
tree | 293a9ddc5392b4a8ce7fdfaf48b9071463433c47 /test/min.fromasm.imprecise.no-opts | |
parent | 345b04253dcf7d42dcefabdec4e4b0edc3a3ca44 (diff) | |
download | binaryen-2234cc7374797d188761916f6b1e82ce9ade1fa3.tar.gz binaryen-2234cc7374797d188761916f6b1e82ce9ade1fa3.tar.bz2 binaryen-2234cc7374797d188761916f6b1e82ce9ade1fa3.zip |
Print the name of memory along with size (#720)
Otherwise when we export it as "$0" it's an undefined name.
The spec interpreter actually rejects this, although I think it's
intended to work, given the tests in export.wast. wabt also accepts it.
Diffstat (limited to 'test/min.fromasm.imprecise.no-opts')
-rw-r--r-- | test/min.fromasm.imprecise.no-opts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/min.fromasm.imprecise.no-opts b/test/min.fromasm.imprecise.no-opts index 89326688f..133f734ad 100644 --- a/test/min.fromasm.imprecise.no-opts +++ b/test/min.fromasm.imprecise.no-opts @@ -1,6 +1,6 @@ (module (import "env" "tempDoublePtr" (global $tDP$asm2wasm$import i32)) - (import "env" "memory" (memory 256 256)) + (import "env" "memory" (memory $0 256 256)) (import "env" "table" (table 0 anyfunc)) (import "env" "memoryBase" (global $memoryBase i32)) (import "env" "tableBase" (global $tableBase i32)) |