mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-13 06:51:34 +00:00
Update Binaryen to latest and rebuild dist files
This commit is contained in:
@ -2,25 +2,25 @@
|
||||
(type $ii (func (param i32) (result i32)))
|
||||
(type $v (func))
|
||||
(memory $0 0)
|
||||
(table $0 1 anyfunc)
|
||||
(table $0 1 funcref)
|
||||
(elem (i32.const 0) $null)
|
||||
(global $HEAP_BASE i32 (i32.const 8))
|
||||
(export "memory" (memory $0))
|
||||
(export "table" (table $0))
|
||||
(export "fib" (func $recursive/fib))
|
||||
(func $recursive/fib (; 0 ;) (type $ii) (param $0 i32) (result i32)
|
||||
get_local $0
|
||||
local.get $0
|
||||
i32.const 1
|
||||
i32.le_s
|
||||
if
|
||||
i32.const 1
|
||||
return
|
||||
end
|
||||
get_local $0
|
||||
local.get $0
|
||||
i32.const 1
|
||||
i32.sub
|
||||
call $recursive/fib
|
||||
get_local $0
|
||||
local.get $0
|
||||
i32.const 2
|
||||
i32.sub
|
||||
call $recursive/fib
|
||||
|
Reference in New Issue
Block a user