summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/non-executable-stack.wast
diff options
context:
space:
mode:
authorjgravelle-google <jgravelle@google.com>2017-06-28 09:53:37 -0700
committerGitHub <noreply@github.com>2017-06-28 09:53:37 -0700
commit14bcc443282146cb85ef2798c36fcb2fe6fa74fa (patch)
tree9b954ab0ab6b9f87ce752c1b781cf050b9b5f703 /test/llvm_autogenerated/non-executable-stack.wast
parent21e08eeef1ccc489cd06495e4370e1dffccfe088 (diff)
downloadbinaryen-14bcc443282146cb85ef2798c36fcb2fe6fa74fa.tar.gz
binaryen-14bcc443282146cb85ef2798c36fcb2fe6fa74fa.tar.bz2
binaryen-14bcc443282146cb85ef2798c36fcb2fe6fa74fa.zip
Runtime.stackAlloc should grow down for wasm (#1073)
* Runtime.stackAlloc should grow down for wasm * stackAlloc should align properly; update tests
Diffstat (limited to 'test/llvm_autogenerated/non-executable-stack.wast')
-rw-r--r--test/llvm_autogenerated/non-executable-stack.wast9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/llvm_autogenerated/non-executable-stack.wast b/test/llvm_autogenerated/non-executable-stack.wast
index 071206e3b..92956c042 100644
--- a/test/llvm_autogenerated/non-executable-stack.wast
+++ b/test/llvm_autogenerated/non-executable-stack.wast
@@ -20,12 +20,9 @@
(i32.store offset=4
(i32.const 0)
(i32.and
- (i32.add
- (i32.add
- (get_local $1)
- (get_local $0)
- )
- (i32.const 15)
+ (i32.sub
+ (get_local $1)
+ (get_local $0)
)
(i32.const -16)
)