mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-27 21:51:47 +00:00
Update Binaryen to latest and rebuild dist files
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
||||
(memory $0 1)
|
||||
(data (i32.const 8) "\10\00\00\00c\00a\00l\00l\00-\00o\00p\00t\00i\00o\00n\00a\00l\00.\00t\00s\00")
|
||||
(table $0 2 anyfunc)
|
||||
(table $0 2 funcref)
|
||||
(elem (i32.const 0) $null $call-optional/opt|trampoline)
|
||||
(global $~argc (mut i32) (i32.const 0))
|
||||
(global $call-optional/optIndirect (mut i32) (i32.const 1))
|
||||
@ -14,10 +14,10 @@
|
||||
(export "table" (table $0))
|
||||
(start $start)
|
||||
(func $call-optional/opt (; 1 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
get_local $0
|
||||
get_local $1
|
||||
local.get $0
|
||||
local.get $1
|
||||
i32.add
|
||||
get_local $2
|
||||
local.get $2
|
||||
i32.add
|
||||
)
|
||||
(func $call-optional/opt|trampoline (; 2 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
@ -25,7 +25,7 @@
|
||||
block $1of2
|
||||
block $0of2
|
||||
block $outOfRange
|
||||
get_global $~argc
|
||||
global.get $~argc
|
||||
i32.const 1
|
||||
i32.sub
|
||||
br_table $0of2 $1of2 $2of2 $outOfRange
|
||||
@ -33,20 +33,20 @@
|
||||
unreachable
|
||||
end
|
||||
i32.const -1
|
||||
set_local $1
|
||||
local.set $1
|
||||
end
|
||||
i32.const -2
|
||||
set_local $2
|
||||
local.set $2
|
||||
end
|
||||
get_local $0
|
||||
get_local $1
|
||||
get_local $2
|
||||
local.get $0
|
||||
local.get $1
|
||||
local.get $2
|
||||
call $call-optional/opt
|
||||
)
|
||||
(func $start (; 3 ;) (type $v)
|
||||
block (result i32)
|
||||
i32.const 1
|
||||
set_global $~argc
|
||||
global.set $~argc
|
||||
i32.const 3
|
||||
i32.const 0
|
||||
i32.const 0
|
||||
@ -65,7 +65,7 @@
|
||||
end
|
||||
block (result i32)
|
||||
i32.const 2
|
||||
set_global $~argc
|
||||
global.set $~argc
|
||||
i32.const 3
|
||||
i32.const 4
|
||||
i32.const 0
|
||||
@ -99,11 +99,11 @@
|
||||
end
|
||||
block (result i32)
|
||||
i32.const 1
|
||||
set_global $~argc
|
||||
global.set $~argc
|
||||
i32.const 3
|
||||
i32.const 0
|
||||
i32.const 0
|
||||
get_global $call-optional/optIndirect
|
||||
global.get $call-optional/optIndirect
|
||||
call_indirect (type $iiii)
|
||||
end
|
||||
i32.const 0
|
||||
@ -119,11 +119,11 @@
|
||||
end
|
||||
block (result i32)
|
||||
i32.const 2
|
||||
set_global $~argc
|
||||
global.set $~argc
|
||||
i32.const 3
|
||||
i32.const 4
|
||||
i32.const 0
|
||||
get_global $call-optional/optIndirect
|
||||
global.get $call-optional/optIndirect
|
||||
call_indirect (type $iiii)
|
||||
end
|
||||
i32.const 5
|
||||
@ -139,11 +139,11 @@
|
||||
end
|
||||
block (result i32)
|
||||
i32.const 3
|
||||
set_global $~argc
|
||||
global.set $~argc
|
||||
i32.const 3
|
||||
i32.const 4
|
||||
i32.const 5
|
||||
get_global $call-optional/optIndirect
|
||||
global.get $call-optional/optIndirect
|
||||
call_indirect (type $iiii)
|
||||
end
|
||||
i32.const 12
|
||||
|
Reference in New Issue
Block a user