Update Binaryen to latest

This commit is contained in:
dcodeIO
2018-12-01 03:09:43 +01:00
parent 9744c319c7
commit a661ff7d89
35 changed files with 5181 additions and 5546 deletions

View File

@ -70,10 +70,10 @@
)
(func $~lib/internal/string/compareUnsafe (; 3 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
(local $4 i32)
get_local $0
get_local $1
i32.const 1
i32.shl
get_local $0
i32.add
set_local $1
loop $continue|0
@ -122,9 +122,6 @@
call $~lib/env/abort
unreachable
end
i32.const 8
i32.load
tee_local $2
i32.const 0
get_local $0
i32.load
@ -133,6 +130,9 @@
get_local $1
i32.lt_s
select
tee_local $2
i32.const 8
i32.load
tee_local $3
i32.add
get_local $1
@ -142,9 +142,9 @@
return
end
get_local $0
get_local $3
i32.const 8
get_local $2
i32.const 8
get_local $3
call $~lib/internal/string/compareUnsafe
i32.eqz
)