mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-21 10:41:42 +00:00
unify runtime header
This commit is contained in:
@ -4,9 +4,12 @@
|
||||
(type $FUNCSIG$v (func))
|
||||
(memory $0 1)
|
||||
(data (i32.const 8) "\10")
|
||||
(data (i32.const 16) "\10\00\00\00\02\00\00\00a")
|
||||
(data (i32.const 32) "\10\00\00\00\04\00\00\00a\00b")
|
||||
(data (i32.const 48) "\10\00\00\00\06\00\00\00a\00b\00c")
|
||||
(data (i32.const 24) "\10\00\00\00\02")
|
||||
(data (i32.const 40) "a")
|
||||
(data (i32.const 48) "\10\00\00\00\04")
|
||||
(data (i32.const 64) "a\00b")
|
||||
(data (i32.const 72) "\10\00\00\00\06")
|
||||
(data (i32.const 88) "a\00b\00c")
|
||||
(export "memory" (memory $0))
|
||||
(start $start)
|
||||
(func $~lib/util/hash/hashStr (; 0 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
|
||||
@ -19,7 +22,7 @@
|
||||
if
|
||||
block $break|0
|
||||
local.get $0
|
||||
i32.const 8
|
||||
i32.const 16
|
||||
i32.sub
|
||||
i32.load offset=4
|
||||
i32.const 1
|
||||
@ -154,16 +157,16 @@
|
||||
i32.const 0
|
||||
call $~lib/util/hash/hashStr
|
||||
drop
|
||||
i32.const 16
|
||||
call $~lib/util/hash/hashStr
|
||||
drop
|
||||
i32.const 24
|
||||
call $~lib/util/hash/hashStr
|
||||
drop
|
||||
i32.const 40
|
||||
call $~lib/util/hash/hashStr
|
||||
drop
|
||||
i32.const 56
|
||||
i32.const 64
|
||||
call $~lib/util/hash/hashStr
|
||||
drop
|
||||
i32.const 88
|
||||
call $~lib/util/hash/hashStr
|
||||
drop
|
||||
i32.const 0
|
||||
|
Reference in New Issue
Block a user