diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-10-14 10:27:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-14 10:27:36 -0700 |
commit | 58f7d6cd477701d7fb4c87ffa9e795ddc6423abb (patch) | |
tree | 9bda4f141e0ffffea5e3556377ca6d463ea1834a /test/llvm_autogenerated/non-executable-stack.wast | |
parent | 87c3aab6500f2a3a3ca8cecfaf65cc14e407a0cd (diff) | |
download | binaryen-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.wast | 3 |
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": [] } |