summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/non-executable-stack.wast
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2016-10-14 10:27:36 -0700
committerGitHub <noreply@github.com>2016-10-14 10:27:36 -0700
commit58f7d6cd477701d7fb4c87ffa9e795ddc6423abb (patch)
tree9bda4f141e0ffffea5e3556377ca6d463ea1834a /test/llvm_autogenerated/non-executable-stack.wast
parent87c3aab6500f2a3a3ca8cecfaf65cc14e407a0cd (diff)
downloadbinaryen-58f7d6cd477701d7fb4c87ffa9e795ddc6423abb.tar.gz
binaryen-58f7d6cd477701d7fb4c87ffa9e795ddc6423abb.tar.bz2
binaryen-58f7d6cd477701d7fb4c87ffa9e795ddc6423abb.zip
Import memory instead of defining/exporting it when using emscripten glue (#777)
The emscripten JS module code creates the memory using the native wasm APIs, and imports that into the wasm module.
Diffstat (limited to 'test/llvm_autogenerated/non-executable-stack.wast')
-rw-r--r--test/llvm_autogenerated/non-executable-stack.wast3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/llvm_autogenerated/non-executable-stack.wast b/test/llvm_autogenerated/non-executable-stack.wast
index 4290c684e..ba0ae642d 100644
--- a/test/llvm_autogenerated/non-executable-stack.wast
+++ b/test/llvm_autogenerated/non-executable-stack.wast
@@ -1,7 +1,6 @@
(module
+ (import "env" "memory" (memory $0 1))
(table 0 anyfunc)
- (memory $0 1)
(data (i32.const 4) "\10\04\00\00")
- (export "memory" (memory $0))
)
;; METADATA: { "asmConsts": {},"staticBump": 1040, "initializers": [] }