blob: bc57f4a891cb7b37d9c3b4c3be0d1c77e3d31687 [file] [edit]
;;; TOOL: run-gen-wasm
magic
version
section(TYPE) { count[1] function params[0] results[1] i32 }
section(FUNCTION) { count[1] type[0] }
section(CODE) {
count[1]
func {
locals[decl_count[1] i32_count[1] i32]
get_local 0
}
}
section("name") {
section(NAME_MODULE) {
str("M0")
}
section(NAME_FUNCTION) {
func_count[1]
index[0]
str("F0")
}
section(NAME_LOCALS) {
func_count[1]
index[0]
local_count[1]
index[0]
str("L0")
}
}
(;; STDOUT ;;;
(module $M0
(type (;0;) (func (result i32)))
(func $F0 (type 0) (result i32)
(local $L0 i32)
local.get $L0))
;;; STDOUT ;;)