mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 19:21:47 +00:00
Update Binaryen to latest and rebuild dist files
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
||||
(memory $0 1)
|
||||
(data (i32.const 8) "\17\00\00\00p\00o\00r\00t\00a\00b\00l\00e\00-\00c\00o\00n\00v\00e\00r\00s\00i\00o\00n\00s\00.\00t\00s")
|
||||
(table $0 1 anyfunc)
|
||||
(table $0 1 funcref)
|
||||
(elem (i32.const 0) $null)
|
||||
(global $portable-conversions/i (mut i32) (i32.const 1))
|
||||
(global $portable-conversions/I (mut i64) (i64.const 1))
|
||||
@ -14,7 +14,7 @@
|
||||
(export "table" (table $0))
|
||||
(start $start)
|
||||
(func $start (; 1 ;) (type $v)
|
||||
get_global $portable-conversions/i
|
||||
global.get $portable-conversions/i
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -26,8 +26,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
i32.wrap/i64
|
||||
global.get $portable-conversions/I
|
||||
i32.wrap_i64
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -39,8 +39,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i32.trunc_s/f32
|
||||
global.get $portable-conversions/f
|
||||
i32.trunc_f32_s
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -52,8 +52,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i32.trunc_s/f64
|
||||
global.get $portable-conversions/F
|
||||
i32.trunc_f64_s
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -65,7 +65,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
global.get $portable-conversions/i
|
||||
i32.const 65535
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -77,8 +77,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
i32.wrap/i64
|
||||
global.get $portable-conversions/I
|
||||
i32.wrap_i64
|
||||
i32.const 65535
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -90,8 +90,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i32.trunc_s/f32
|
||||
global.get $portable-conversions/f
|
||||
i32.trunc_f32_s
|
||||
i32.const 65535
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -103,8 +103,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i32.trunc_s/f64
|
||||
global.get $portable-conversions/F
|
||||
i32.trunc_f64_s
|
||||
i32.const 65535
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -116,7 +116,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
global.get $portable-conversions/i
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -126,8 +126,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
i32.wrap/i64
|
||||
global.get $portable-conversions/I
|
||||
i32.wrap_i64
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -137,8 +137,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i32.trunc_s/f32
|
||||
global.get $portable-conversions/f
|
||||
i32.trunc_f32_s
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -148,8 +148,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i32.trunc_s/f64
|
||||
global.get $portable-conversions/F
|
||||
i32.trunc_f64_s
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -159,8 +159,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
i64.extend_s/i32
|
||||
global.get $portable-conversions/i
|
||||
i64.extend_i32_s
|
||||
i64.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -170,7 +170,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
global.get $portable-conversions/I
|
||||
i64.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -180,8 +180,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i64.trunc_s/f32
|
||||
global.get $portable-conversions/f
|
||||
i64.trunc_f32_s
|
||||
i64.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -191,8 +191,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i64.trunc_s/f64
|
||||
global.get $portable-conversions/F
|
||||
i64.trunc_f64_s
|
||||
i64.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -202,7 +202,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
global.get $portable-conversions/i
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -212,8 +212,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
i32.wrap/i64
|
||||
global.get $portable-conversions/I
|
||||
i32.wrap_i64
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -223,8 +223,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i32.trunc_s/f32
|
||||
global.get $portable-conversions/f
|
||||
i32.trunc_f32_s
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -234,8 +234,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i32.trunc_s/f64
|
||||
global.get $portable-conversions/F
|
||||
i32.trunc_f64_s
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -245,7 +245,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
global.get $portable-conversions/i
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -257,8 +257,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
i32.wrap/i64
|
||||
global.get $portable-conversions/I
|
||||
i32.wrap_i64
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -270,8 +270,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i32.trunc_u/f32
|
||||
global.get $portable-conversions/f
|
||||
i32.trunc_f32_u
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -283,8 +283,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i32.trunc_u/f64
|
||||
global.get $portable-conversions/F
|
||||
i32.trunc_f64_u
|
||||
i32.const 255
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -296,7 +296,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
global.get $portable-conversions/i
|
||||
i32.const 65535
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -308,8 +308,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
i32.wrap/i64
|
||||
global.get $portable-conversions/I
|
||||
i32.wrap_i64
|
||||
i32.const 65535
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -321,8 +321,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i32.trunc_u/f32
|
||||
global.get $portable-conversions/f
|
||||
i32.trunc_f32_u
|
||||
i32.const 65535
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -334,8 +334,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i32.trunc_u/f64
|
||||
global.get $portable-conversions/F
|
||||
i32.trunc_f64_u
|
||||
i32.const 65535
|
||||
i32.and
|
||||
i32.eqz
|
||||
@ -347,7 +347,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
global.get $portable-conversions/i
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -357,8 +357,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
i32.wrap/i64
|
||||
global.get $portable-conversions/I
|
||||
i32.wrap_i64
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -368,8 +368,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i32.trunc_u/f32
|
||||
global.get $portable-conversions/f
|
||||
i32.trunc_f32_u
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -379,8 +379,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i32.trunc_u/f64
|
||||
global.get $portable-conversions/F
|
||||
i32.trunc_f64_u
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -390,8 +390,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
i64.extend_s/i32
|
||||
global.get $portable-conversions/i
|
||||
i64.extend_i32_s
|
||||
i64.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -401,7 +401,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
global.get $portable-conversions/I
|
||||
i64.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -411,8 +411,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i64.trunc_u/f32
|
||||
global.get $portable-conversions/f
|
||||
i64.trunc_f32_u
|
||||
i64.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -422,8 +422,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i64.trunc_u/f64
|
||||
global.get $portable-conversions/F
|
||||
i64.trunc_f64_u
|
||||
i64.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -433,7 +433,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
global.get $portable-conversions/i
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -443,8 +443,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
i32.wrap/i64
|
||||
global.get $portable-conversions/I
|
||||
i32.wrap_i64
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -454,8 +454,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
i32.trunc_u/f32
|
||||
global.get $portable-conversions/f
|
||||
i32.trunc_f32_u
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -465,8 +465,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
i32.trunc_u/f64
|
||||
global.get $portable-conversions/F
|
||||
i32.trunc_f64_u
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -476,7 +476,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
global.get $portable-conversions/i
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
@ -486,7 +486,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
global.get $portable-conversions/I
|
||||
i64.const 0
|
||||
i64.eq
|
||||
if
|
||||
@ -497,7 +497,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
global.get $portable-conversions/f
|
||||
f32.const 0
|
||||
f32.eq
|
||||
if
|
||||
@ -508,7 +508,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
global.get $portable-conversions/F
|
||||
f64.const 0
|
||||
f64.eq
|
||||
if
|
||||
@ -519,8 +519,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
f32.convert_s/i32
|
||||
global.get $portable-conversions/i
|
||||
f32.convert_i32_s
|
||||
f32.const 0
|
||||
f32.eq
|
||||
if
|
||||
@ -531,8 +531,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
f32.convert_s/i64
|
||||
global.get $portable-conversions/I
|
||||
f32.convert_i64_s
|
||||
f32.const 0
|
||||
f32.eq
|
||||
if
|
||||
@ -543,7 +543,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
global.get $portable-conversions/f
|
||||
f32.const 0
|
||||
f32.eq
|
||||
if
|
||||
@ -554,8 +554,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
f32.demote/f64
|
||||
global.get $portable-conversions/F
|
||||
f32.demote_f64
|
||||
f32.const 0
|
||||
f32.eq
|
||||
if
|
||||
@ -566,8 +566,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/i
|
||||
f64.convert_s/i32
|
||||
global.get $portable-conversions/i
|
||||
f64.convert_i32_s
|
||||
f64.const 0
|
||||
f64.eq
|
||||
if
|
||||
@ -578,8 +578,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/I
|
||||
f64.convert_s/i64
|
||||
global.get $portable-conversions/I
|
||||
f64.convert_i64_s
|
||||
f64.const 0
|
||||
f64.eq
|
||||
if
|
||||
@ -590,8 +590,8 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/f
|
||||
f64.promote/f32
|
||||
global.get $portable-conversions/f
|
||||
f64.promote_f32
|
||||
f64.const 0
|
||||
f64.eq
|
||||
if
|
||||
@ -602,7 +602,7 @@
|
||||
call $~lib/env/abort
|
||||
unreachable
|
||||
end
|
||||
get_global $portable-conversions/F
|
||||
global.get $portable-conversions/F
|
||||
f64.const 0
|
||||
f64.eq
|
||||
if
|
||||
|
Reference in New Issue
Block a user