summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/non-executable-stack.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/llvm_autogenerated/non-executable-stack.wast')
-rw-r--r--test/llvm_autogenerated/non-executable-stack.wast19
1 files changed, 9 insertions, 10 deletions
diff --git a/test/llvm_autogenerated/non-executable-stack.wast b/test/llvm_autogenerated/non-executable-stack.wast
index e6ed0e88b..fff883f57 100644
--- a/test/llvm_autogenerated/non-executable-stack.wast
+++ b/test/llvm_autogenerated/non-executable-stack.wast
@@ -12,19 +12,18 @@
)
(func $stackAlloc (; 1 ;) (param $0 i32) (result i32)
(local $1 i32)
- (set_local $1
- (i32.load offset=4
- (i32.const 0)
- )
- )
(i32.store offset=4
(i32.const 0)
- (i32.and
- (i32.sub
- (get_local $1)
- (get_local $0)
+ (tee_local $1
+ (i32.and
+ (i32.sub
+ (i32.load offset=4
+ (i32.const 0)
+ )
+ (get_local $0)
+ )
+ (i32.const -16)
)
- (i32.const -16)
)
)
(get_local $1)