Update Binaryen and take care of WebAssembly/binaryen#1547

This commit is contained in:
dcodeIO
2018-05-14 16:55:55 +02:00
parent 5ab81a00a1
commit 6c0a5c47d9
118 changed files with 6852 additions and 6590 deletions

View File

@ -15,7 +15,7 @@
(global $exports/Car.TIRES i32 (i32.const 4))
(global $exports/vehicles.Car.TIRES i32 (i32.const 4))
(global $exports/outer.inner.a i32 (i32.const 42))
(global $HEAP_BASE i32 (i32.const 4))
(global $HEAP_BASE i32 (i32.const 8))
(memory $0 1)
(export "add" (func $exports/add))
(export "_setargc" (func $~setargc))
@ -103,7 +103,7 @@
)
(if
(i32.gt_u
(tee_local $2
(tee_local $0
(i32.and
(i32.add
(i32.add
@ -118,7 +118,7 @@
)
)
(i32.shl
(tee_local $0
(tee_local $2
(current_memory)
)
(i32.const 16)
@ -128,14 +128,14 @@
(i32.lt_s
(grow_memory
(select
(get_local $0)
(get_local $2)
(tee_local $4
(tee_local $3
(i32.shr_u
(i32.and
(i32.add
(i32.sub
(get_local $2)
(get_local $0)
(get_local $1)
)
(i32.const 65535)
@ -147,7 +147,7 @@
)
)
(i32.gt_s
(get_local $0)
(get_local $2)
(get_local $4)
)
)
@ -166,7 +166,7 @@
)
)
(set_global $~lib/allocator/arena/offset
(get_local $2)
(get_local $0)
)
(return
(get_local $1)