mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 01:11:32 +00:00
Add SIMD prerequisites (#469)
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
(module
|
||||
(type $i (func (result i32)))
|
||||
(type $iiiiv (func (param i32 i32 i32 i32)))
|
||||
(type $iv (func (param i32)))
|
||||
(type $v (func))
|
||||
(type $iiii_ (func (param i32 i32 i32 i32)))
|
||||
(type $i_ (func (param i32)))
|
||||
(type $_ (func))
|
||||
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
||||
(memory $0 1)
|
||||
(data (i32.const 8) "\10\00\00\00g\00e\00t\00t\00e\00r\00-\00s\00e\00t\00t\00e\00r\00.\00t\00s\00")
|
||||
@ -16,11 +16,11 @@
|
||||
(func $getter-setter/Foo.get:bar (; 1 ;) (type $i) (result i32)
|
||||
global.get $getter-setter/Foo._bar
|
||||
)
|
||||
(func $getter-setter/Foo.set:bar (; 2 ;) (type $iv) (param $0 i32)
|
||||
(func $getter-setter/Foo.set:bar (; 2 ;) (type $i_) (param $0 i32)
|
||||
local.get $0
|
||||
global.set $getter-setter/Foo._bar
|
||||
)
|
||||
(func $start (; 3 ;) (type $v)
|
||||
(func $start (; 3 ;) (type $_)
|
||||
call $getter-setter/Foo.get:bar
|
||||
i32.const 0
|
||||
i32.eq
|
||||
@ -64,6 +64,6 @@
|
||||
unreachable
|
||||
end
|
||||
)
|
||||
(func $null (; 4 ;) (type $v)
|
||||
(func $null (; 4 ;) (type $_)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user