diff options
author | Dan Gohman <sunfish@mozilla.com> | 2016-01-11 15:42:48 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2016-01-11 15:42:48 -0800 |
commit | 91becc1a6cfa3c57eb6d2cb5f3c42f312d65f8b2 (patch) | |
tree | 07721f3ab0c1d83556345c88e986da394a031015 /test/llvm_autogenerated/userstack.s | |
parent | 4e98f922cb2d727a319f62d32e51afabb2e46d24 (diff) | |
parent | 20f01a9f8277111b69f3d916ec2e066f1f996c7d (diff) | |
download | binaryen-91becc1a6cfa3c57eb6d2cb5f3c42f312d65f8b2.tar.gz binaryen-91becc1a6cfa3c57eb6d2cb5f3c42f312d65f8b2.tar.bz2 binaryen-91becc1a6cfa3c57eb6d2cb5f3c42f312d65f8b2.zip |
Merge pull request #92 from WebAssembly/at-function
Update tests for upstream changes.
Diffstat (limited to 'test/llvm_autogenerated/userstack.s')
-rw-r--r-- | test/llvm_autogenerated/userstack.s | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/test/llvm_autogenerated/userstack.s b/test/llvm_autogenerated/userstack.s index f3ae1cbca..d77c7bc81 100644 --- a/test/llvm_autogenerated/userstack.s +++ b/test/llvm_autogenerated/userstack.s @@ -67,13 +67,34 @@ allocarray: .Lfunc_end2: .size allocarray, .Lfunc_end2-allocarray + .globl allocarray_inbounds + .type allocarray_inbounds,@function +allocarray_inbounds: + .local i32, i32, i32, i32 + i32.const $0=, __stack_pointer + i32.load $0=, 0($0) + i32.const $1=, 32 + i32.sub $3=, $0, $1 + i32.const $1=, __stack_pointer + i32.store $3=, 0($1), $3 + i32.const $push0=, 1 + i32.store $push1=, 12($3), $pop0 + i32.store $discard=, 16($3), $pop1 + i32.const $2=, 32 + i32.add $3=, $3, $2 + i32.const $2=, __stack_pointer + i32.store $3=, 0($2), $3 + return +.Lfunc_end3: + .size allocarray_inbounds, .Lfunc_end3-allocarray_inbounds + .globl dynamic_alloca .type dynamic_alloca,@function dynamic_alloca: .param i32 return -.Lfunc_end3: - .size dynamic_alloca, .Lfunc_end3-dynamic_alloca +.Lfunc_end4: + .size dynamic_alloca, .Lfunc_end4-dynamic_alloca .section ".note.GNU-stack","",@progbits |