2018-05-08 22:16:12 +02:00
|
|
|
(module
|
|
|
|
(type $ii (func (param i32) (result i32)))
|
|
|
|
(type $v (func))
|
|
|
|
(memory $0 1)
|
2018-05-14 16:55:55 +02:00
|
|
|
(data (i32.const 8) "\0e\00\00\00m\00a\00n\00y\00-\00l\00o\00c\00a\00l\00s\00.\00t\00s")
|
2018-11-08 08:04:24 +01:00
|
|
|
(table $0 1 anyfunc)
|
2018-11-09 12:28:10 +01:00
|
|
|
(elem (i32.const 0) $start)
|
2018-07-18 23:49:32 +02:00
|
|
|
(export "memory" (memory $0))
|
2018-10-11 08:49:08 +02:00
|
|
|
(export "table" (table $0))
|
2018-05-08 22:16:12 +02:00
|
|
|
(export "testI32" (func $many-locals/testI32))
|
|
|
|
(export "testI8" (func $many-locals/testI8))
|
2018-11-09 12:28:10 +01:00
|
|
|
(func $many-locals/testI32 (; 0 ;) (type $ii) (param $0 i32) (result i32)
|
2018-11-08 08:04:24 +01:00
|
|
|
get_local $0
|
2018-05-08 22:16:12 +02:00
|
|
|
)
|
2018-11-09 12:28:10 +01:00
|
|
|
(func $many-locals/testI8 (; 1 ;) (type $ii) (param $0 i32) (result i32)
|
2018-11-08 08:04:24 +01:00
|
|
|
get_local $0
|
|
|
|
i32.const 24
|
|
|
|
i32.shl
|
|
|
|
i32.const 24
|
|
|
|
i32.shr_s
|
2018-05-08 22:16:12 +02:00
|
|
|
)
|
2018-11-09 12:28:10 +01:00
|
|
|
(func $start (; 2 ;) (type $v)
|
2018-11-08 08:04:24 +01:00
|
|
|
nop
|
2018-09-17 01:48:35 +02:00
|
|
|
)
|
2018-05-08 22:16:12 +02:00
|
|
|
)
|