Add memcpy compiler test

This commit is contained in:
dcodeIO
2017-12-08 16:11:58 +01:00
parent bbb57baecb
commit da672e2ca6
19 changed files with 4367 additions and 132 deletions

View File

@ -5,8 +5,8 @@
(export "loopDoInDo" (func $do/loopDoInDo))
(export "memory" (memory $0))
(func $do/loopDo (; 0 ;) (type $iv) (param $0 i32)
(loop $continue|1.1
(br_if $continue|1.1
(loop $continue|0
(br_if $continue|0
(tee_local $0
(i32.sub
(get_local $0)
@ -17,15 +17,15 @@
)
)
(func $do/loopDoInDo (; 1 ;) (type $iv) (param $0 i32)
(loop $continue|1.1
(loop $continue|0
(set_local $0
(i32.sub
(get_local $0)
(i32.const 1)
)
)
(loop $continue|1.2
(br_if $continue|1.2
(loop $continue|1
(br_if $continue|1
(tee_local $0
(i32.sub
(get_local $0)
@ -34,7 +34,7 @@
)
)
)
(br_if $continue|1.1
(br_if $continue|0
(get_local $0)
)
)